dwm_turn_off
Turns off the device that needs to be repowered or reset using the button to turn on again.
-
void dwm_turn_off(void)
- Parameters
output – Status code
C code example
Not available in the on-module user application. Available only on external interfaces (SPI, UART)
SPI/UART example
TLV Request |
|
---|---|
Type |
Length |
0x0F |
0x00 |
Type 0x0F means command dwm_turn_off
TLV Response |
||
---|---|---|
Type |
Length |
Value (see error codes) |
0x40 |
0x01 |
0x00 |
Type 0x40 means err_code of the previous command