From 824efec68bce3f84ea405d178670b5a5a0499c95 Mon Sep 17 00:00:00 2001 From: FlutterCrypto Date: Fri, 7 Apr 2023 17:36:52 +0200 Subject: [PATCH] updated --- logfile.md | 23 +++++++++++++++++++++++ readme.md | 28 ++++++++++------------------ 2 files changed, 33 insertions(+), 18 deletions(-) create mode 100644 logfile.md diff --git a/logfile.md b/logfile.md new file mode 100644 index 0000000..ff47386 --- /dev/null +++ b/logfile.md @@ -0,0 +1,23 @@ +# Complete log file when reading a Credit Card + +```plaintext +NFC tag discovered +TagId: 0585921afb9100 +TechList found with these entries: +android.nfc.tech.IsoDep +android.nfc.tech.NfcA +connection with card success + +********************************* +************ step 00 ************ +* our journey begins * +********************************* +increase IsoDep timeout for long lasting reading +timeout old: 2000 ms +timeout new: 10000 ms + +********************************* +************ step 99 ************ +* our journey ends * +********************************* +``` \ No newline at end of file diff --git a/readme.md b/readme.md index 8b05324..e963c0f 100644 --- a/readme.md +++ b/readme.md @@ -23,22 +23,6 @@ near the device's NFC reader: **TalkToYourCreditCardPart0**. The app is tested on real Android devices running Android versions 5.0.1, 8.0 and 13. -There are 3 dependencies necessary for the app to run: - -build.gradle: -```plaintext - // parsing BER-TLV encoded data, e.g. a credit card - // source: https://github.com/evsinev/ber-tlv - implementation 'com.payneteasy:ber-tlv:1.0-11' - - // pretty printing of card's responses - // source: https://github.com/devnied/EMV-NFC-Paycard-Enrollment - implementation 'com.github.devnied.emvnfccard:library:3.0.1' - - // implementing an about page - implementation 'io.github.medyo:android-about-page:2.0.0' -``` - These are the steps to read a payment card, it is a kind of "question & answer" workflow: - ask the card which applications are available on the card ("select PPSE") - analyze the card's response and identify one or more of the application number or application id ("AID") @@ -56,16 +40,22 @@ In AndroidManifest.xml grant these permissions: ``` -Dependencies in build.gradle (app): +There are 3 dependencies necessary for the app to run: + +build.gradle: ```plaintext // parsing BER-TLV encoded data, e.g. a credit card // source: https://github.com/evsinev/ber-tlv implementation 'com.payneteasy:ber-tlv:1.0-11' - + // pretty printing of card's responses // source: https://github.com/devnied/EMV-NFC-Paycard-Enrollment implementation 'com.github.devnied.emvnfccard:library:3.0.1' + + // implementing an about page + implementation 'io.github.medyo:android-about-page:2.0.0' ``` + ## Library ber-tlv Source code: https://github.com/evsinev/ber-tlv @@ -88,3 +78,5 @@ License: The MIT License (MIT) Licensed under Attribution 4.0 International (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/legalcode +Find a complete [logfile](logfile.md) after reading a Credit Card with the app with the [link](logfile.md). +