Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Diff: Cellular/Cellular.cpp
- Revision:
- 11:4e428f689069
- Parent:
- 10:c188cc05aed5
- Child:
- 16:1bc3e44d4746
--- a/Cellular/Cellular.cpp Wed May 21 15:45:05 2014 -0500 +++ b/Cellular/Cellular.cpp Thu May 22 09:26:51 2014 -0500 @@ -55,6 +55,27 @@ } } +std::string Cellular::getRadioNames(Radio radio) { + switch(radio) { + case MTSMC_H5: + return "MTSMC-H5"; + case MTSMC_EV3: + return "MTSMC-EV3"; + case MTSMC_G3: + return "MTSMC-G3"; + case MTSMC_C2: + return "MTSMC-C2"; + case MTSMC_H5_IP: + return "MTSMC-H5-IP"; + case MTSMC_EV3_IP: + return "MTSMC-EV3-IP"; + case MTSMC_C2_IP: + return "MTSMC-C2-IP"; + default: + return "UNKNOWN ENUM"; + } +} + Code Cellular::test() { int i = 0;