I'm using the information you posted here to implement the SECTOR_SELECT command in some code I wrote for retrieving data from the NXP NT3H2211, and so far I have only been able to get the first 1 KB because I didn't have the SECTOR_SELECT implemented. In case of the sector select command the complete APDU command is as follows:ĠxFF 0xC2 0x00 0x01 0x95 0x02 0xC2 0xFFĠx5F 0x46 0x04 0x20 0x4E 0x00 0x00 is the optional timer data object which defines an timeout after 20 ms (0x4E20 = 20000 as multiple of 1 us).Ġx95 0x02 0xC2 0xFF is the transceive command with data length 0x02 bytes and as data 0xC2 0xFF which are the sector select command packet 1.Īfter receiving the ACK message you have to send the second sector select command packet as follows:ĠxFF 0xC2 0x00 0x01 0x95 0x04 SectorNumber 0x00 0x000x00Īgain is the optional timer data object.Īfter this the sector is changed to the selected SectorNumber. That means after transmission is complete the reader will wait until an optional timer data object is over or an default time is passed. This command is called Transparent Exchange Command and ist used to transmit and receive any bit or bytes from Integrated Circuit Card.Īs DataObject you have to select the tag 0x95 which define an transceive command. In order to send any command which is not defined in you have to use the following APDU Command :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |