Forum › MIFARE SDK › Mifare SDK Lite filterIntent › Reply To: Mifare SDK Lite filterIntent
Hey David,
Thanks for replying again. you are correct.
For point - I have tried connection to the Mifare cards using a C# app on my PC with a Omnikey 5321 PCSC readder, and it works, I can authenticate and read the card. So now, we know our card is legit Mifare 1k.
For the Second point, I'm beginning to believe the phone's controller does not cater for Mifare Classic.. Hence it returns android.nfc.tech.NfcA as the only supported tech list on this specific card. So i tried connecting to the card using the NFCa tag methods which provides access to NFC-A (ISO 14443-3A) properties and I/O operations.
The Connect call actually worked and I mannaged to get the Mifare Card Serial Number (UID) Ex: 9BF44F07 in this case i used the method mNfca.getTag().getId() which returned it.
However if i attemt to do any furhter communication i get the following from log cat.
07-23 07:38:51.374 25442-25453/com.philicoe.wavereader I/VISA_CARD﹕ nNFCa tag discovered
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ NFCa Connected
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ Connection bytes returned: 0400
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ Tag ID:9BF44F07
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ NFCa_APDU_TO_SEND_START:FF82200006089B07084FF4
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ Requesting NFCa APDU: FF82200006089B07084FF4
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ Calling NFCa tranceive: FF82200006089B07084FF4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader E/NFCa﹕ Error communicating with NFCa card: android.nfc.TagLostException: Tag was lost.
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ NFCa_APDU_TO_SEND_START:FF860000050100006100F4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ Requesting NFCa APDU: FF860000050100006100F4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ Calling NFCa tranceive: FF860000050100006100F4
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/NFCa﹕ Error communicating with NFCa card: android.nfc.TagLostException: Tag was lost.
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/NFCa﹕ NFCa Send complete
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/VISA_CARD﹕ android.nfc.tech.NfcA
Regards,
Thanks for replying again. you are correct.
For point - I have tried connection to the Mifare cards using a C# app on my PC with a Omnikey 5321 PCSC readder, and it works, I can authenticate and read the card. So now, we know our card is legit Mifare 1k.
For the Second point, I'm beginning to believe the phone's controller does not cater for Mifare Classic.. Hence it returns android.nfc.tech.NfcA as the only supported tech list on this specific card. So i tried connecting to the card using the NFCa tag methods which provides access to NFC-A (ISO 14443-3A) properties and I/O operations.
The Connect call actually worked and I mannaged to get the Mifare Card Serial Number (UID) Ex: 9BF44F07 in this case i used the method mNfca.getTag().getId() which returned it.
However if i attemt to do any furhter communication i get the following from log cat.
07-23 07:38:51.374 25442-25453/com.philicoe.wavereader I/VISA_CARD﹕ nNFCa tag discovered
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ NFCa Connected
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ Connection bytes returned: 0400
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader E/NFCa﹕ Tag ID:9BF44F07
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ NFCa_APDU_TO_SEND_START:FF82200006089B07084FF4
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ Requesting NFCa APDU: FF82200006089B07084FF4
07-23 07:38:51.394 25442-25453/com.philicoe.wavereader I/NFCa﹕ Calling NFCa tranceive: FF82200006089B07084FF4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader E/NFCa﹕ Error communicating with NFCa card: android.nfc.TagLostException: Tag was lost.
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ NFCa_APDU_TO_SEND_START:FF860000050100006100F4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ Requesting NFCa APDU: FF860000050100006100F4
07-23 07:38:56.399 25442-25453/com.philicoe.wavereader I/NFCa﹕ Calling NFCa tranceive: FF860000050100006100F4
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/NFCa﹕ Error communicating with NFCa card: android.nfc.TagLostException: Tag was lost.
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/NFCa﹕ NFCa Send complete
07-23 07:39:01.409 25442-25453/com.philicoe.wavereader E/VISA_CARD﹕ android.nfc.tech.NfcA
Regards,
+ 0
|
- 0