Alice
Alice

Reputation: 71

Android isodep.isConnected() returns false and maximum Transceive length:0 byte ,for type B card.?

I am working on a android application, need to read and display data from a type B card. card is connecting well,but when isodep.isConnected() is called it returns false.

I scanned this card with TagInfo application (by NXP, available on Play Store) it shows maximum Transceive length:0 byte for this card. Is there something wrong with this card ?

Upvotes: 1

Views: 1466

Answers (2)

Papyrus
Papyrus

Reputation: 329

The Tag INfo app may derive the Maximum Transceive Length from the MBLI attribute.
MBLI = Max. Buffer Length Index. It is the upper nibble of the first byte of ATTRIB Response. Some Type B tags have 0 in this nibble which means 'No information provided'.

For some indication of what you're looking for, you could use the 'Max Frame Size', given by the 'Protocol Info' section of the tag's ATQB response. See page 19 of this reference. Your options (in bytes) are 16,24,32,40,48,64,96,128,256

Upvotes: 0

NFC guy
NFC guy

Reputation: 10228

The maximum transceive length refers to the capabilities of the NFC in the Android device. It seems the device cannot send data via IsoDep. What kind of device is it? Are you running a custom ROM?

Upvotes: 1

Related Questions