dwm_serial_cfg_set

This command is available only on the ethernet gateway. Sets configuration of serial interface like UART/USB.

void dwm_serial_cfg_set(uint8_t mode)
Parameters
  • input – mode

  • mode – ‘0’ | ‘1’ (0 - binary mode , 1 - shell mode)

  • outputStatus code

C code example

Not available in the on-module user application.

SPI/UART example

TLV Response

Type

Length

Value

0x38

0x04

byte 0: reserved
byte 1: UART/USB mode
byte 2: reserved
byte 3: reserved

0x00 0x10 0x00 0x00

Type 0x38 means command dwm_serial_cfg_set