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

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