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

前端 未结 2 347
长发绾君心
长发绾君心 2021-01-25 01:44

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 retu

2条回答
  •  一整个雨季
    2021-01-25 02:46

    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

提交回复
热议问题