Mario Bambagini / ssWi

Dependents:   rover_car rover_pc supervisor watering_unit ... more

Revision:
17:8ba1b278b407
Parent:
15:fb0f6cbc0ed5
Child:
18:133e42dc82b0
diff -r b50c3b3b241c -r 8ba1b278b407 xbee/xbee.cpp
--- a/xbee/xbee.cpp	Thu Mar 07 15:44:05 2013 +0000
+++ b/xbee/xbee.cpp	Wed Jan 18 21:01:25 2017 +0000
@@ -19,7 +19,6 @@
         }
 }
 
-
 bool XBeeModule::executeWithOk (const char* cmd)
 {
     char msg[5];
@@ -31,7 +30,6 @@
     return true;
 }
 
-
 void XBeeModule::executeWithRes (const char* cmd, char* res)
 {
     xbee.printf("%s", cmd);
@@ -39,11 +37,6 @@
     //printf("\n\r%s -> %s\n\r", cmd, res);
 }
 
-
-
-
-
-
 XBeeModule::XBeeModule (PinName tx, PinName rx, int panID, int channel) : xbee(tx, rx, 64)
 {
     status = false;
@@ -60,12 +53,6 @@
     status = true;
 }
 
-
-
-
-
-
-
 XBeeAddress XBeeModule::getDstAddress ()
 {
     char tmp[10];
@@ -93,7 +80,6 @@
     return XBeeAddress(low, high);
 }
 
-
 bool XBeeModule::setDstAddress (XBeeAddress addr)
 {
     char s[10];
@@ -118,7 +104,6 @@
     return true;
 }
 
-
 bool XBeeModule::_getLocalAddr ()
 {
     char tmp[10];
@@ -200,8 +185,6 @@
     return id;
 }
 
-
-
 int XBeeModule::read (char* msg)
 {
     int i = 0;
@@ -210,8 +193,6 @@
     return i;
 }
 
-
-
 void XBeeModule::write (const char* msg, int n)
 {
     for (int i=0; i<n; i++) {