Vergil Cola
/
MQTTGateway2
Fork of my original MQTTGateway
XbeeMonitor/XbeeMonitor.h@0:a1734fe1ec4b, 2017-04-08 (annotated)
- Committer:
- vpcola
- Date:
- Sat Apr 08 14:43:14 2017 +0000
- Revision:
- 0:a1734fe1ec4b
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vpcola | 0:a1734fe1ec4b | 1 | #ifndef _XBEE_MONITOR_H_ |
vpcola | 0:a1734fe1ec4b | 2 | #define _XBEE_MONITOR_H_ |
vpcola | 0:a1734fe1ec4b | 3 | |
vpcola | 0:a1734fe1ec4b | 4 | #include <stdint.h> |
vpcola | 0:a1734fe1ec4b | 5 | |
vpcola | 0:a1734fe1ec4b | 6 | typedef struct |
vpcola | 0:a1734fe1ec4b | 7 | { |
vpcola | 0:a1734fe1ec4b | 8 | uint64_t radioID; |
vpcola | 0:a1734fe1ec4b | 9 | int sprinkler_pin; |
vpcola | 0:a1734fe1ec4b | 10 | } RadioControlData, *pRadioControlData; |
vpcola | 0:a1734fe1ec4b | 11 | |
vpcola | 0:a1734fe1ec4b | 12 | int initXbeeMonitor(); |
vpcola | 0:a1734fe1ec4b | 13 | uint64_t getXbeeId(); |
vpcola | 0:a1734fe1ec4b | 14 | void runXbeeMonitor(); |
vpcola | 0:a1734fe1ec4b | 15 | void postRadioControl(RadioControlData &); |
vpcola | 0:a1734fe1ec4b | 16 | |
vpcola | 0:a1734fe1ec4b | 17 | #endif |