dwm_boot_cfg_set
This call is available only on the ethernet gateway. It sets the time for the device to stay in bootloader mode after reset. The bootloader mode is used when doing firmware update using the serial interface. The module will jump to normal operation after the time expires. The firmware update can be initiated before the jump and the time can be set from 0 up to 4294967295 milliseconds. However, it needs to be reset to take effect.
-
void dwm_boot_cfg_set(void)
- Parameters
input – boot_delay
boot_delay – ? 32-bit unsigned integer ? (the delay in milliseconds)
output – status_code
Caution
No code example from reference input; need to check it again
SPI/UART example
TLV Request |
||
---|---|---|
Type |
Length |
Value 1000 millisec |
0x26 |
0x04 |
0xE8 0x03 0x00 0x00 |
Type 0x26 (38 dec) means command dwm_boot_cfg_set
TLV Response |
||
---|---|---|
Type |
Length |
Value |
0x40 |
0x01 |
0x00 |
Type 0x40 means status code