Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MTS-Cellular by
Diff: Utils/CellUtils.h
- 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";
