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:   Seeed_XBee_Shield

Fork of xbee_lib by Tristan Hughes

Revision:
7:f9a60cfe1026
Parent:
6:6455a079bdb3
--- a/xbee.cpp	Fri Aug 31 15:48:55 2012 +0000
+++ b/xbee.cpp	Fri May 30 13:37:54 2014 +0000
@@ -32,7 +32,7 @@
 
 int xbee::ConfigMode()
 {
-    int a;
+    int a = 0;
     Serial DATA(_tx,_rx);
     wait(2);
     DATA.printf("+++");