Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mtsas mtsas mtsas mtsas

Revision:
38:b2088faa8bfd
Parent:
37:14f819beeccf
Child:
41:8b9b5098696f
--- a/Cellular/Cellular.cpp	Wed Jul 23 16:04:41 2014 +0000
+++ b/Cellular/Cellular.cpp	Fri Jul 25 18:05:50 2014 +0000
@@ -269,10 +269,7 @@
         return code;
     }
     string cmd = "AT+CMGS=\"";
-    //EasyIP radios do not include the +
-    if(type == MTSMC_H5_IP || type == MTSMC_EV3_IP || type == MTSMC_C2_IP) {
-        cmd.append("+");
-    }
+    cmd.append("+");
     cmd.append(phoneNumber);
     cmd.append("\",145");
     for (int i = 0; i < 5; i++) {