|
ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
|
Go to the source code of this file.
Functions | |
| ControllerStatus | PowerCommandTransaction (const PowerCommand *input, PowerCommand *output) |
| bool | ControllerPowerSleep (void) |
| bool | ControllerPowerWakeup (void) |
| bool ControllerPowerSleep | ( | void | ) |
Definition at line 40 of file power.c.
References CONTROLLER_SUCCESS, and PowerCommandTransaction().
Referenced by UserConfigStopCallback().
| bool ControllerPowerWakeup | ( | void | ) |
Definition at line 54 of file power.c.
References CONTROLLER_SUCCESS, and PowerCommandTransaction().
| ControllerStatus PowerCommandTransaction | ( | const PowerCommand * | input, |
| PowerCommand * | output | ||
| ) |
Definition at line 9 of file power.c.
References CONTROLLER_ERROR, CONTROLLER_SUCCESS, ControllerRx(), ControllerTransaction(), ControllerTx(), Buffer::data, DecodeEsp32Command(), EncodePowerCommand(), Buffer::len, and Buffer::size.
Referenced by ControllerPowerSleep(), and ControllerPowerWakeup().