QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
18:e72ee7aed088
Parent:
15:e3e03a9df89e
Child:
51:d6b64ac3c30d
--- a/adapt/xbee.h	Sat Apr 19 14:39:19 2014 +0000
+++ b/adapt/xbee.h	Sun Apr 20 08:04:37 2014 +0000
@@ -1,6 +1,7 @@
 #ifndef _XBEE_H_
 #define _XBEE_H_
 #include "mbed.h"
+#include <InterruptIn.h>
 
 
 /// Define Pinout
@@ -8,14 +9,21 @@
 #define XBEEPINRX p10
 
 /// Define Baud
-#define XBEEBAUD 57600
+#define XBEEBAUD 115200
 //115200
 
 class XBEE{
 private:
     static Serial* xbee;
+    static DigitalOut* setTCPConStatus;
+    static DigitalIn* getTCPConStatus;
+    static InterruptIn* TCPconnLost;
+
 public:
     /// \brief Call this function to get a hold of the serial for USB.
     static Serial& getSerial();
+    static DigitalOut& getTCPConOut();
+    static DigitalIn& getTCPConIn();
+    static InterruptIn& getTCPInterrupt();
 };
 #endif
\ No newline at end of file