dwm_serial_cfg_get
This call is available only on the ethernet gateway, and it gets of UART/USB interface configuration.
-
void dwm_serial_cfg_get(uint8_t mode)
- Parameters
input – (none)
output – status_code, mode
mode – ‘0’ | ‘1’ (0 - binary mode , 1 - shell mode)
C code example
Not available in the on-module user application.
SPI/UART example
TLV Request |
|
---|---|
Type |
Length |
0x39 |
0x00 |
Type 0x39 (57) means command dwm_serial_cfg_get
TLV Response |
|||||
---|---|---|---|---|---|
Type |
Length |
Value |
Type |
Length |
Value |
0x40 |
0x01 |
0x00 |
0x61 |
0x04 |
reserver |
0x00 0x10 0x00 0x00 |
Type 0x40 means status code
Type 0x61 (97) means bootloader configuration