xbee lib changé

Dependents:   Labo_TRSE_Drone

Fork of xbee_lib by Tristan Hughes

Files at this revision

API Documentation at this revision

Comitter:
tristanjph
Date:
Fri Aug 31 15:48:55 2012 +0000
Parent:
5:714651141a83
Child:
7:36b5f86bc1a0
Commit message:
Documentation update

Changed in this revision

xbee.cpp Show annotated file Show diff for this revision Revisions of this file
xbee.h Show annotated file Show diff for this revision Revisions of this file
--- a/xbee.cpp	Fri Aug 31 15:46:34 2012 +0000
+++ b/xbee.cpp	Fri Aug 31 15:48:55 2012 +0000
@@ -133,10 +133,10 @@
 
 void xbee::Reset()
 {
-    DigitalOut rssi(_reset);
-    rssi = 0;
+    DigitalOut rst(_reset);
+    rst = 0;
     wait_ms(10);
-    rssi = 1;
+    rst = 1;
     wait_ms(1);
 }
 
--- a/xbee.h	Fri Aug 31 15:46:34 2012 +0000
+++ b/xbee.h	Fri Aug 31 15:48:55 2012 +0000
@@ -41,7 +41,7 @@
       * @return Returns 1 on success.
       */
     int GetSerial(int*);
-    /** Sets the encryption key to the one stored in security_key.
+    /** Sets the encryption key. This should be a 128-bit key.
       * @param key Pointer to the network key to set.
       * @return Returns 1 on success.
       */