I²C and RF command sets
M24SR02-Y
5.8.2
Table 47. R-APDU of the ExtendedReadBinary command
Data
SW1
SW2
comment
Length
Value
Value
Value
Value
Value
Value
Le bytes
Content read
-
-
-
-
-
1 byte
0x90
0x67
0x69
0x6A
0x6A
0x6E
1 byte
Don’t care(1)
0x00
0x82
0x82
0x86
0x00
-
Command completed
Wrong length
Security status not satisfied
File or application not found
Incorrect P1 or P2 values
Class not supported
1. For more information, please contact your local ST support.
EnablePermanentState command
The command configures the NDEF file to the ReadOnly or to the WriteOnly State.
This command can update the right access to the NDEF file by writing into the EEPROM. In
this case, the response timing will be around 6 ms.
Table 48 defines the EnablePermanentState requirement command.
Table 48. EnablePermanentState command format
Name
CLA
INS
P1 & P2
Lc
Data
Le
Length
0xA2
0x28
2 bytes
-
-
-
Class byte
Instruction code
New security attributes
0x0001: Enable the read protection of the NDEF file
0x0002: Enable the write protection of the NDEF file
Other: RFU
-
-
-
-
Table 49 defines the R-APDU of the EnablePermanentState command.
Length
Value
Value
Value
Table 49. R-APDU table of the EnablePermanentState command
Data
SW1
SW2
comment
-
1 byte
1 byte -
-
0x90
0x00
Command completed
-
0x65
0x81
Update failed
-
0x67
0x00
Wrong length
48/90
DocID025386 Rev 10