开发者

android.nfc.tech.NfcV what does mean the byte return by getResponseFlags?

I have to do an application in NFC. My tag return NFC-V, so I cast it in NfcV. And I have to extract some information, and the method getResponseFlags seems contains what I need. But I didn't find any documentation that explains me how read the returned byte. I suppose it is a bitwise of several properties, but in witch order and witch information, it is no where explains. Where I can get information about this?

PS: I have already searched Google with lot of request, I have also looked in source code and in javadoc, I have also read some PDF about ISO 15693 (NFC-V), but nothing says me f开发者_如何学运维or example the bit 5 means "is Afi Locked" (Its just an example, probably not the truth)


You need the ISO15639-3 spec (note the '3') - that one details the required commands & defines the responses, including the bitmasks for the relevant fields.

The response-flags returned by only contain an error-flag (bit 0), and a flag to indicate if there are extensions to the protocol (bit 4). To get information about DSFID, AFI, etc you'll need to use the 'Get System Information' command ('2B')

To get the spec you'll need to pay the ISO organisation 150CHF :-(, but a bit of googleing should find you alternative sources.

Note that RFID-manufacturers can add extra commands to the protocol. For those you'll have to consult the datasheets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜