Our website is under construction. Please stay tuned!

dwm_factory_reset

Resets the node into the factory settings. Environment is erased and set to default state. It also resets the node. Normally, this writes to internal flash. Hence, it should not be used frequently and can take hundreds of milliseconds in the worst case!

void dwm_factory_reset(void)
Parameters
  • output – err_code

C code example

dwm_factory_reset();

SPI/UART example

TLV request

type

length

0x13

0x00

Type 0x13 means command dwm_factory_reset

TLV response

type

length

value (see error codes)

0x40

0x01

0x00