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
Revision 10:c4281fa79b8f, committed 2018-01-02
- Comitter:
- fahimalavi
- Date:
- Tue Jan 02 05:45:24 2018 +0000
- Parent:
- 8:a15349fcab25
- Child:
- 11:57f64bc518c0
- Commit message:
- Changes required for R410M in cellular base
Changed in this revision
| UbloxCellularBase.cpp | Show annotated file Show diff for this revision Revisions of this file |
| UbloxCellularBase.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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"))
--- a/UbloxCellularBase.h Mon Oct 30 14:46:22 2017 +0000
+++ b/UbloxCellularBase.h Tue Jan 02 05:45:24 2018 +0000
@@ -178,7 +178,9 @@
HSDPA = 4,
HSUPA = 5,
HSDPA_HSUPA = 6,
- LTE = 7
+ LTE = 7,
+ EC_GSM_IoT =8,
+ E_UTRAN_NB_S1=9
} RadioAccessNetworkType;
/** Info about the modem.
u-blox