Change Reference Data command. STMicroelectronics ST25TA16K
Advertentie
Advertentie
ST25TA16K
5.7.2
RF command sets
Table 34 defines the R-APDU of the Verify command.
Data
Table 34. R-APDU of the Verify command
SW1 SW2 Comment
Length
Value
Value
Value
Value
Value
Value
Value
Value
-
-
-
-
-
-
-
-
-
1 byte
0x90
0x69
0x69
0x69
0x6A
0x63
0x63
0x6E
1 byte -
0x00 Command completed, the password is correct
0x85
The conditions of use are not satisfied (e.g. no
NDEF file was selected)
0x81
0x82
0x80
0x00
Command incompatible with file structure
Security status not satisfied
Incorrect parameter in command data field
A password is required
0xCX
0x00
(1)
The password transmitted is incorrect and X encodes the number of further allowed retries.
Class not supported
1. At each session, the RF host can check a password 3 times.
Change Reference Data command
The Change Reference Data command replaces the read or write password related to the
NDEF files previously selected. It can be performed only if the security status satisfies the security attributes for this command.
Before sending this command, the verify command with the correct NDEF write password shall be issued. Thus, this command changes the reference data of the NDEF file.
Table 35 defines the Change Reference Data command.
Name
Table 35. Change reference data command format
CLA INS P1 & P2
-
Class byte
0x00 0x24
Instruction code
Password identification
0x0001: Read password transmit
0x0002: Write password transmit
Other: RFU
0x10: the password is present in the data field
-
NDEF file Password
2 bytes
Lc
1 byte
Data
Lc bytes
Le
-
DocID027786 Rev 4
44
Downloaden
Advertentie