Fork of my MQTTGateway

Dependencies:   mbed-http

Committer:
vpcola
Date:
Sat Apr 08 14:45:51 2017 +0000
Revision:
0:f1d3878b8dd9
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vpcola 0:f1d3878b8dd9 1 #ifndef _XBEE_MONITOR_H_
vpcola 0:f1d3878b8dd9 2 #define _XBEE_MONITOR_H_
vpcola 0:f1d3878b8dd9 3
vpcola 0:f1d3878b8dd9 4 #include <stdint.h>
vpcola 0:f1d3878b8dd9 5
vpcola 0:f1d3878b8dd9 6 typedef struct
vpcola 0:f1d3878b8dd9 7 {
vpcola 0:f1d3878b8dd9 8 uint64_t radioID;
vpcola 0:f1d3878b8dd9 9 int sprinkler_pin;
vpcola 0:f1d3878b8dd9 10 } RadioControlData, *pRadioControlData;
vpcola 0:f1d3878b8dd9 11
vpcola 0:f1d3878b8dd9 12 int initXbeeMonitor();
vpcola 0:f1d3878b8dd9 13 uint64_t getXbeeId();
vpcola 0:f1d3878b8dd9 14 void runXbeeMonitor();
vpcola 0:f1d3878b8dd9 15 void postRadioControl(RadioControlData &);
vpcola 0:f1d3878b8dd9 16
vpcola 0:f1d3878b8dd9 17 #endif