All pages
Powered by GitBook
1 of 1

Loading...

0xE001 - Get Challenge

The host uses this command to request challenge data from the device, which the host can then use to perform a specific sensitive operation / modify a specific type of device setting. Information about how the host should pass the required challenge data to the device is included in the documentation for all commands that use this security mechanism.

The sequence of events is as follows:

1

The host already wants to perform a secured operation that requires a challenge (for example Command 0xEEEE - Send Secured Command to Device).

2

The host constructs the command request for Get Challenge - Command 0xE001 in the format below.

3

The host sends the command request to the device.

4

The device generates a random number for the challenge, stores it locally, and sends a response in the format below to the host.

5

The device starts a 5 minute countdown timer during which the challenge is valid. If the host takes no action within 5 minutes, the timer expires, the device erases the challenge data, and the device must retrieve a fresh challenge to perform the operation it wants to perform. This binding of the command to a specific time period allows the device to detect and reject commands that have been captured/intercepted at one point in time and replayed later.

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

E001 = Get Challenge - Command 0xE001

81

02

Request ID to be protected

B

R

End of any wrappers, at minimum including Request Message

E001 = Get Challenge - Command 0xE001

81

02

Request ID to be protected

B

R

82

04

Device Serial Number

B

R

83

08

Challenge Token A challenge token includes 8 byte random numbers and must be used within 5 minutes of being issued. Only one token can be active at a time. Attempts to use a token for requests other than the one specified will cause the token to be revoked/erased

B

R

End of any wrappers, at minimum including Response Message

Beginning of any wrappers, at minimum including Request Message

Beginning of any wrappers, at minimum including Response Message

Request Data for Get Challenge - Command 0xE001

Response Data for Get Challenge - Command 0xE001

Request Example - Command 0xE001

Response Example - Command 0xE001

Example (hex)
AA 00 81 04 01 13 E0 01 84 06 E0 01 81 02 F0 12
Example (hex)
AA 00 81 04 82 13 E0 01 82 04 00 00 00 00 84 16 A2 14 81 02 E0 01 82 04 B5 03 3D A0 83 08 
3B 4F A0 62 69 BB 73 38