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

Dependents:   mtsas mtsas mtsas mtsas

Revision:
37:14f819beeccf
Parent:
36:948d06b3e23c
Child:
38:b2088faa8bfd
--- a/Cellular/Cellular.cpp	Wed Jul 23 15:44:54 2014 +0000
+++ b/Cellular/Cellular.cpp	Wed Jul 23 16:04:41 2014 +0000
@@ -270,7 +270,7 @@
     }
     string cmd = "AT+CMGS=\"";
     //EasyIP radios do not include the +
-    if(type == MTSMC_H5_IP || type == MTSMC_EV3_IP || type ++ MTSMC_C2_IP) {
+    if(type == MTSMC_H5_IP || type == MTSMC_EV3_IP || type == MTSMC_C2_IP) {
         cmd.append("+");
     }
     cmd.append(phoneNumber);