M24SR02-Y
I²C and RF command sets
Table 49. R-APDU table of the EnablePermanentState command (continued)
Data
SW1
SW2
comment
Value
-
0x69
0x82
Security status not satisfied
Value
-
0x6A
0x80
CC file or System file selected
Value
-
0x6A
0x82
File or application not found
Value
-
0x6A
0x86
Incorrect P1 or P2 values
Value
-
0x6E
0x00
Class not supported
5.8.3
DisablePermanentState command
The command configures the NDEF file to the Lock state.
This command can update the right access of the NDEF file by writing into the EEPROM. In
this case, the response timing will be around 6 ms. This command is only valid in I2C. The
SuperUser rights must have been granted to execute the command.
Before sending this command, an NDEF file shall be selected by issuing the NDEF Select
command.
Table 50 defines the DisablePermanentState requirement command.
Table 50. DisablePermanentState command format
Name
CLA
INS
P1 & P2
Lc
Data
Le
Length
0xA2
0x26
2 bytes
-
-
-
Class byte
Instruction code
New security attributes
0x0001: Disable the read protection of the NDEF file
0x0002: Disable the write protection of the NDEF file
Other: RFU
-
-
-
Table 51 defines the R-APDU of the DisablePermanentState command.
Length
Value
Value
Value
Value
Table 51. R-APDU of the DisablePermanentState command
Data
SW1
SW2
comment
-
1 byte
1 byte
-
-
0x90
0x00
Command completed
-
0x65
0x81
Update failed
-
0x67
0x00
Wrong length
-
0x69
0x82
Security status not satisfied
DocID025386 Rev 10
49/90
78