Command IRND
result_t get_init_random (device_t id, init_random_t* init_random)
Command code (CMD): "irnd" or 0x646E7269.
Request: (4 bytes)
INT32U CMD Command
Answer: (24 bytes)
INT32U CMD Command (answer)
INT8U key [16] Random key.
INT8U Reserved [2] Reserved (2 bytes)
INT16U CRC Checksum
Description:
Read random number from controller.
Command GUID
result_t get_globally_unique_identifier (device_t id, globally_unique_identifier_t* globally_unique_identif
ier)
Command code (CMD): "guid" or 0x64697567.
Request: (4 bytes)
INT32U CMD Command
Answer: (40 bytes)
INT32U CMD Command (answer)
INT32U UniqueID0 Unique ID 0.
INT32U UniqueID1 Unique ID 1.
INT32U UniqueID2 Unique ID 2.
INT32U UniqueID3 Unique ID 3.
INT8U Reserved [18] Reserved (18 bytes)
INT16U CRC Checksum
Description:
This value is unique to each individual die but is not a random value. This unique device identifier can be used to initiate secure boot
processes or as a serial number for USB or other end applications.
Command CHMT
result_t command_change_motor (device_t id, const command_change_motor_t* the_command_change_motor)
Command code (CMD): "chmt" or 0x746D6863.
Request: (22 bytes)
INT32U CMD Command
INT8U Motor Motor number which it should be switch relay on [0..1]
INT8U Reserved [15] Reserved (15 bytes)
INT16U CRC Checksum
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Change motor - command for switching output relay.
Controller error response types