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 – err_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