Vergil Cola
/
MQTTGatewayK64
Fork of my MQTTGateway
Diff: XbeeMonitor/XbeeMonitor.h
- Revision:
- 0:f1d3878b8dd9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/XbeeMonitor/XbeeMonitor.h Sat Apr 08 14:45:51 2017 +0000 @@ -0,0 +1,17 @@ +#ifndef _XBEE_MONITOR_H_ +#define _XBEE_MONITOR_H_ + +#include <stdint.h> + +typedef struct +{ + uint64_t radioID; + int sprinkler_pin; +} RadioControlData, *pRadioControlData; + +int initXbeeMonitor(); +uint64_t getXbeeId(); +void runXbeeMonitor(); +void postRadioControl(RadioControlData &); + +#endif