SCL3711
R
EFERENCE
M
ANUAL
28
6. Commands description
6.1.
Generic APDUs
1.1.1. Get UID Command
6.1.1.1. Description
This command will retrieve the UID or SNR or PUPI of the user token. This command can be
used for all supported contactless technologies.
6.1.1.2. Format
CLA
INS
P1
P2
Lc
Data in
Le
0xFF
0xCA
0x00
0x00
-
-
XX
Setting Le = 0x00 can be used to request the full UID or PUPI is sent back
•
For ISO14443A possible lengths are 4, 7 or 10
•
For ISO14443B possible length is 4 bytes PUPI
•
For FeliCa™ or NFC Forum type 3 tags possible length is 12 bytes of NFCID
•
For NFC Forum type 1 tags possible length is 7 bytes of UID
6.1.1.3. Response
Data Out
Data + SW1 + SW2
6.1.1.4. Status Words
SW1
SW2
Description
0x90
0x00
NO ERROR
0x62
0x82
WARNING: specified Le is greater than data to
be retrieved
0x6C
0xXX
ERROR: Wrong Length.
0xXX is the exact value for Le
Further error codes can be found in annex