A library for talking to Multi-Tech's Cellular SocketModem Devices.

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Revision:
146:efc4db23a564
Parent:
143:c7d8fe37981b
Child:
148:df9feef182b4
--- a/cellular/Cellular.cpp	Wed Jan 15 19:26:13 2014 +0000
+++ b/cellular/Cellular.cpp	Mon Jan 20 15:33:54 2014 +0000
@@ -83,12 +83,12 @@
         dtr->write(0);
     }
     instance->io = io;
-    
+
     test();
     // Reset radio to make sure it's in a good state and wait for it to come back
     reset();
     test();
-    
+
     return SUCCESS;
 }
 
@@ -578,7 +578,6 @@
 
 Code Cellular::test()
 {
-    Code code;
     int i = 0;
     while (sendBasicCommand("AT", 1000) != SUCCESS) {
         i++;
@@ -588,7 +587,6 @@
         }
         wait(1);
     }
-
     return SUCCESS;
 }