|
ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
|
#include "irrigation.h"#include "../../proto/transcoder.h"#include "../../sensors/solenoid.h"#include "../communication.h"Go to the source code of this file.
Functions | |
| ControllerStatus | IrrigationCommandTransaction (const IrrigationCommand *input, IrrigationCommand *output) |
| IrrigationCommand_State | ControllerIrrigationCheck (void) |
Variables | |
| unsigned int | g_controller_i2c_timeout |
| ControllerStatus IrrigationCommandTransaction | ( | const IrrigationCommand * | input, |
| IrrigationCommand * | output | ||
| ) |
Definition at line 12 of file irrigation.c.
References CONTROLLER_ERROR, CONTROLLER_SUCCESS, ControllerRx(), ControllerTransaction(), ControllerTx(), Buffer::data, DecodeEsp32Command(), EncodeIrrigationCommand(), Buffer::len, and Buffer::size.
Referenced by ControllerIrrigationCheck().
|
extern |