[Notes] message structure of the NFC notes --ATR_REQ

Original Address :: https://www.cnblogs.com/journeyonmyway/archive/2012/08/20/2648030.html

 

related articles

1, [Note] Note the NFC - transmission frame format ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/20/2648025.html

2, [Notes] notes the NFC - processes active mode and the passive mode activation protocol ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/20/2647913.html

3, [Note] Note the NFC protocol command set --NFCIP-1 (the NFCIP-the Set the Command Protocol. 1) ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/20/2647885.html

4, [Notes] message structure of the NFC notes --ATR_RES ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/22/2651731.html

5, [Notes] Notes --WUP_REQ the NFC message structure and WUP_RES ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/23/2651757.html

6, [Notes] Notes --PSL_REQ the NFC message structure and PSL_RES ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/23/2652989.html

7, [Note] NFC protocol specification study notes summary ---- https://www.cnblogs.com/journeyonmyway/archive/2012/08/29/2659127.html

 

In the protocol activation process, the need for Attribute Request and Response, the structure of FIG. ATR_REQ is, Figure 26 - Structure of the ATR_REQ

Because transmission ATR_REQ, so CMD0 = D4, CMD1 = 00, which is determined by the message sent.

From Byte 0 to Byte 9 is nfcid3i0 to nfcid3i9, a total of 10 Byte, which is a dynamic random-generated application, remain constant during the communication process.

212 and 424 kbps when the passive communication mode, NFCID3i be substituted NFCID2t.

Byte DIDi 10 for multiplexing the plurality target activation data transfer protocol, this value ranges from 1 to 14, if less than the DIDi, is set to 0.

Byte BSi 11, the initiator device to indicate supported transmission rate, see below Figure 27 - Coding of the BSi byte

Reception rate, coding rules Byte BRi 12, the initiator device to indicate supported with BSi.

Byte PPi 13, the initiator device to indicate the options available for use, the format shown below

Byte 14 to Byte n: is the Gi [0] to Gi [n], is a common optional byte, used to indicate some general information. The maximum length minus the number of bytes must ATR_REQ, that is the maximum length common bytes.

Published 136 original articles · won praise 306 · Views 4.37 million +

Guess you like

Origin blog.csdn.net/xqhrs232/article/details/104057494