Base class for the ublox-xxx-cellular-xxx classes. Cannot be used standalone, only inherited by classes that do properly useful stuff. Or, to put it another way, if you are using any of the ublox-xxx-cellular-xxx classes, you will need this class also.
Dependents: example-ublox-cellular-interface example-ublox-cellular-driver-gen HelloMQTT example-ublox-cellular-interface_r410M ... more
Diff: UbloxCellularBase.cpp
- Revision:
- 10:c4281fa79b8f
- Parent:
- 8:a15349fcab25
- Child:
- 11:57f64bc518c0
diff -r a15349fcab25 -r c4281fa79b8f UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp Mon Oct 30 14:46:22 2017 +0000
+++ b/UbloxCellularBase.cpp Tue Jan 02 05:45:24 2018 +0000
@@ -146,6 +146,12 @@
case LTE:
tr_info("Connected to LTE");
break;
+ case EC_GSM_IoT:
+ tr_info("Connected to EC_GSM_IoT");
+ break;
+ case E_UTRAN_NB_S1:
+ tr_info("Connected to E_UTRAN NB1");
+ break;
default:
tr_info("Unknown RAT %d", AcTStatus);
break;
@@ -598,6 +604,8 @@
*dev = DEV_LISA_U2;
else if (strstr(buf, "SARA-U2"))
*dev = DEV_SARA_U2;
+ else if (strstr(buf, "SARA-R4"))
+ *dev = DEV_SARA_R4;
else if (strstr(buf, "LEON-G2"))
*dev = DEV_LEON_G2;
else if (strstr(buf, "TOBY-L2"))
u-blox