Our website is under construction. Please stay tuned!

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

byte 0:

reserver

byte 1: bit 0 -

UART/USB

mode byte 2:

reserved

byte 3:

reserver

0x00 0x10 0x00 0x00

Type 0x40 means status code
Type 0x61 (97) means bootloader configuration