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 9:2c997d7df4c6, committed 2018-01-01
- Comitter:
- fahim alavi
- Date:
- Mon Jan 01 17:16:21 2018 +0500
- Branch:
- R410_M
- Parent:
- 8:a15349fcab25
- Commit message:
- adding support of R410M
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 Mon Jan 01 17:16:21 2018 +0500
@@ -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 Mon Jan 01 17:16:21 2018 +0500
@@ -162,6 +162,7 @@
DEV_LISA_U2,
DEV_LISA_U2_03S,
DEV_SARA_U2,
+ DEV_SARA_R4,
DEV_LEON_G2,
DEV_TOBY_L2,
DEV_MPCI_L2
@@ -178,7 +179,10 @@
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