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

Dependents:   mtsas mtsas mtsas mtsas

Revision:
50:144099030d9b
Parent:
48:3f9d82915e83
Child:
51:ffc556ba33f7
--- a/Cellular/Cellular.cpp	Mon Aug 04 22:16:18 2014 +0000
+++ b/Cellular/Cellular.cpp	Tue Aug 05 15:02:00 2014 +0000
@@ -215,13 +215,10 @@
         //OK, ERROR, CONNECT are the 3 most likely responses
         if(result.size() > (command.size() + 2)) {
                 if(result.find("OK") != std::string::npos) {
-                    //Found OK
                     done = true;
                 } else if (result.find("ERROR") != std::string::npos) {
-                    //Found ERROR
                     done = true;
                 } else if (result.find("NO CARRIER") != std::string::npos) {
-                    //Found NO CARRIER
                     done = true;
                 } else if (result.find("RING") != std::string::npos) {
                     done = true;
@@ -239,7 +236,6 @@
                 
                 if(type == MTSMC_H5 || type == MTSMC_G3 || type == MTSMC_EV3 || type == MTSMC_C2) {
                     if (result.find("CONNECT") != std::string::npos) {
-                        //Found CONNECT
                         //Could add socketOpened flag check here if CONNECT is found
                         done = true;
                     } else if(result.find("NO DIALTONE") != std::string::npos) {