Request: (50 bytes)
INT32U CMD Command
INT32U SN New board serial number.
INT8U Key [32] Protection key (256 bit).
INT8U Major The major number of the hardware version.
INT8U Minor Minor number of the hardware version.
INT16U Release Number of edits this release of hardware.
INT8U Reserved [4] Reserved (4 bytes)
INT16U CRC Checksum
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Write device serial number and hardware version to controller's flash memory. Along with the new serial number and hardware version
a "Key" is transmitted. The SN and hardware version are changed and saved when keys match. Can be used by manufacturer only.
Command RDAN
result_t get_analog_data (device_t id, analog_data_t* analog_data)
Command code (CMD): "rdan" or 0x6E616472.
Request: (4 bytes)
INT32U CMD Command
Answer: (76 bytes)