A library allowing basic functions of the XBEE pro to be used. Currently supported are: Enter/exit config mode, reading device serial number, setting encryption key, writing settings to non volatile memory and sending data strings.

Dependents:   IOT_sensor_nfc Xbee_Hello_world Xbee_Hello_world_A Xbee_Hello_World_B ... more

Revision:
0:2656fb225c5d
Child:
1:c3d9bdcb0b03
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xbee.h	Tue Aug 28 14:00:33 2012 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+
+
+class xbee {
+private:
+    PinName _tx;
+    PinName _rx;
+public:
+    xbee(PinName _tx, PinName _rx);
+    ~xbee();
+    int ConfigMode();
+    int GetSerial();
+    int SetKey();
+    int WriteSettings();
+    int ExitConfigMode();
+    int SendData();
+    
+    int serial_no[8];
+    int security_key[16]; 
+    char sendData[202];
+};
\ No newline at end of file