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

Dependents:   mtsas mtsas mtsas mtsas

Revision:
18:fa0d8120f81f
Parent:
11:4e428f689069
Child:
30:1326b623919a
--- a/Utils/CellUtils.h	Thu Jun 05 17:29:32 2014 +0000
+++ b/Utils/CellUtils.h	Mon Jun 16 13:50:28 2014 +0000
@@ -15,7 +15,7 @@
 
 /// An enumeration for common responses.
 enum Code {
-    SUCCESS, ERROR, FAILURE, NO_RESPONSE
+    MTS_SUCCESS, MTS_ERROR, MTS_FAILURE, MTS_NO_RESPONSE
 };
 
 /** A static method for getting a string representation for the Code
@@ -27,13 +27,13 @@
 static std::string getCodeNames(Code code)
 {
     switch(code) {
-        case SUCCESS:
+        case MTS_SUCCESS:
             return "SUCCESS";
-        case ERROR:
+        case MTS_ERROR:
             return "ERROR";
-        case NO_RESPONSE:
+        case MTS_NO_RESPONSE:
             return "NO_RESPONSE";
-        case FAILURE:
+        case MTS_FAILURE:
             return "FAILURE";
         default:
             return "UNKNOWN ENUM";