leaps_hw_ver_set_once
Set the hardware version in the write-once memory. Hardware version cannot be changed after it is successfully set by this call! The size of the HW version buffer is 2, which means that the version number can be written at most 2 times after the buffer is full. The 2nd HW version has higher priority than the 1st HW version. The attempt to write the 2nd HW version that is equal to the 1st HW version is refused as invalid parameter.
hw_version: ? 32-bits integer ?
(none)
SPI/UART example
TLV Request |
||
---|---|---|
Type |
Length |
Value |
0x84 |
0x04 |
Hardware version in little endian (e.g. 0x 02100111) |
0x11 0x01 0x10 0x02 |
Type 0x84 (132 dec) means command dwm_hw_ver_set_once
TLV Response |
||
---|---|---|
Type |
Length |
Value (see error codes) |
0x40 |
0x01 |
0x00 |
Type 0x40 means err_code of the previous command