A library for talking to Multi-Tech's Cellular SocketModem Devices.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: utils/Vars.h
- Revision:
- 148:df9feef182b4
- Parent:
- 141:571e0ef6c8dc
diff -r efc4db23a564 -r df9feef182b4 utils/Vars.h --- a/utils/Vars.h Mon Jan 20 15:33:54 2014 +0000 +++ b/utils/Vars.h Fri Jul 11 16:45:35 2014 +0000 @@ -33,7 +33,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 @@ -45,13 +45,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";