MagneSafe V5
70
Set Security Level Command
Command number:
0x15
Description:
This command is used to set the Security Level (see Section 1). The
Security Level can be set higher, but never lower. There are two versions
of this command, the first one is used to retrieve the current Security Level
and does not require MACing. The second one is used to set the Security
Level and requires Security/MACing.
Data structure:
Request Data:
Offset
Field Name
Description
0
Security Level
Optional: if present must be either 0x03 or 0x04. If
absent this is a query for the current Security Level.
If this field is absent, the MAC field should NOT be
sent.
1
MAC
Four byte MAC to secure the command.
Response Data:
Offset
Field Name
Description
0
Security Level
Only present if there was no request data. This field
gives the current Security Level.
Result codes:
0x00 Success
0x02 Bad Parameters – the Request Data is not a correct length OR the
specified Security Level is invalid; OR the current Security Level
is 4
0x07 Incorrect MAC – command not authorized
Example
Set Security Level
to 3 Request (Hex):
Cmd Num
Data Len
Data
15
05
03 xx xx xx xx
Where “xx xx xx xx” is the valid MAC (Message Authentication Code).
Example
Set Security Level
Response (Hex):
Result Code Data Len
Data
00
00
Example
Get Security Level
Request (Hex):
Cmd Num
Data Len
Data
15
00
Example
Get Security Level
Response (Hex):
Result Code Data Len
Data
00
01
03
Summary of Contents for MagneSafe V5
Page 8: ...viii...
Page 84: ...MagneSafe V5 76...
Page 96: ...MagneSafe V5 88...
Page 98: ...MagneSafe V5 90...
Page 132: ...MagneSafe V5 124...