하드웨어/rfid_nfc_smartcard
rfid 태그 UID(시리얼 넘버) 읽기
구차니
2025. 2. 26. 11:30
received의 끝 90 00 은 ACK 같고
그 외에 다른 값들은 안드로이드에서 nfc tools 등을 이용하여 읽은 것과 동일한 결과를 돌려준다.
90 00 은 SW1 SW2 같은데 멀 의미하는진 모르겠다.
25 "Get Data Command" is defined in PCSC 3 v2. If your driver is PCSC v2 compliant, you can get UID using it: Class = 0xFF INS = 0xCA P1 = 0x00 P2 = 0x00 Le = 0x00 (return full length: ISO14443A single 4 bytes, double 7 bytes, triple 10 bytes, for ISO14443B 4 bytes PUPI, for 15693 8 bytes UID) Returned value is: Data+SW1SW2 |
[링크 : https://stackoverflow.com/questions/13051167/apdu-command-to-get-smart-card-uid]