All pages
Powered by GitBook
1 of 1

Loading...

0xEF06 - Change Device Lock State

The host can use this command to change the device’s lock state. To get the device’s lock state or to set it using MagTek security see Device Lock State - Property 1.2.5.2.1.1. The value of the device lock state will revert to the value of Device Lock State After Reset - Property 1.2.5.2.1.2 after a reset or a power cycle. See Device Lock Feature for more information.

Change Device Lock State - Request Data for Command 0xEF06

Tag
Len
Value / Description
Typ
Req
Default
Tag
Len
Value / Description
Typ
Req
Default

81

01

Device Lock State - 0x00 = Unlocked - 0x01 = Locked

B

M

82

01

Passcode Format - 0x00 = Clear - 0x01 = Fixed SHA-256 - 0x02 = Variable SHA-256

B

M

83

04-63

Passcode β€” The value of the passcode depends on the value of the passcode format parameter.

  • If the passcode format is set to Clear (0x00), then the value of the passcode is the passcode in the clear and can have a length of 4–63 bytes.

  • If the passcode format is set to Fixed SHA-256 (0x01), then the value of the passcode is the 32-byte SHA-256 hash value of the passcode

  • If the passcode format is set to Variable SHA-256 (0x02), then the value of the passcode is the 32-byte SHA-256 hash value of: an 8-byte random challenge token followed by the 4–63 byte passcode. The challenge token must have been retrieved from the device within the last 5 minutes using Command 0xE001 - Get Challenge

B

M

-

-

End of any wrappers, at minimum including Request Message

EF06 = Change Device Lock State - Command 0xEF06

-

-

-

No parameters.

-

-

End of any wrappers, at minimum including Response Message

Beginning of any wrappers, at minimum including Request Message

-

-

EF06 = Change Device Lock State - Command 0xEF06

-

Beginning of any wrappers, at minimum including Response Message

-

Response Data for Change Device Lock State - Command 0xEF06

Request Example - Command 0xEF06

Response Example - Command 0xEF06

Example (Hex)
AA00 81 04 0155EF06 84 0E EF06 810100 820100 8304 34333231
Example (Hex)
AA00 81048255EF06 820400000000 8402EF06