Our website is under construction. Please stay tuned!

dwm_serial_cfg_set

This call is available only on the ethernet gateway, and it Configures the UART/USB interface.

void dwm_serial_cfg_set(uint8_t mode)
Parameters
  • input – mode

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

  • output – err_code

C code example

Not available in the on-module user application.

SPI/UART example

TLV request

type

length

value

0x38

0x04

byte 0: reserver byte 1: bit 0 - UART/USB mode byte 2: reserved byte 3: reserver

0x00 0x01 0x00 0x00

Type 0x38 means command dwm_serial_cfg_set