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: 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;
