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:
101:27bb34e23304
Parent:
96:27bdf4aa3a31
Child:
110:8f3149c99112
--- a/cellular/Cellular.cpp	Mon Dec 30 19:00:56 2013 +0000
+++ b/cellular/Cellular.cpp	Mon Dec 30 23:26:31 2013 +0000
@@ -804,7 +804,7 @@
     //Send Escape Character
     if (esc != 0x00) {
         if(io->write(esc, timeoutMillis) != 1) {
-            printf("[ERROR] failed to send '%c' to radio within %d milliseconds\r\n", esc, timeoutMillis);
+            printf("[ERROR] failed to send character '%c' (0x%02X) to radio within %d milliseconds\r\n", esc, esc, timeoutMillis);
             return "";
         }
     }
@@ -825,7 +825,6 @@
         if(size > 0) {
             result.append(tmp, size);
         }
-
         if(!started) {
             //In Echo Mode (Command will have echo'd + 2 characters for \r\n)
             if(result.size() > command.size() + 2) {