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

Dependents:   mtsas mtsas mtsas mtsas

Files at this revision

API Documentation at this revision

Comitter:
Vanger
Date:
Wed Jul 23 16:04:41 2014 +0000
Parent:
36:948d06b3e23c
Child:
38:b2088faa8bfd
Child:
39:629fc8475af1
Commit message:
Bug fix for Cellular.cpp changed ++ to ==

Changed in this revision

Cellular/Cellular.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);