For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change Device Lock State

Command 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 Property 1.2.5.2.1.1 Device Lock State. The value of the device lock state will revert to the value of Property 1.2.5.2.1.2 Device Lock State After Reset after a reset or a power cycle. See Device Lock Feature for more information.

Table - Request Data for Command 0xEF06 – Change Device Lock State

Tag
Len
Value / Description
Typ
Req
Default

Beginning of any wrappers, at minimum including Request Message

-

-

EF06 = Command 0xEF06 – Change Device Lock State

-

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

Table - Response Data for Command 0xEF06 – Change Device Lock State

Tag
Len
Value / Description
Typ
Req
Default

Beginning of any wrappers, at minimum including Response Message

-

EF06 = Command 0xEF06 – Change Device Lock State

-

-

-

No parameters.

-

-

End of any wrappers, at minimum including Response Message

Table - Request Example

Table - Response Example

Last updated