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:
- 31:b0a6a610d114
- Parent:
- 30:38230504a646
- Child:
- 32:1fc4850f1253
diff -r 38230504a646 -r b0a6a610d114 UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp Tue Aug 27 18:38:29 2019 +0500
+++ b/UbloxCellularBase.cpp Thu Aug 29 16:52:05 2019 +0500
@@ -1541,6 +1541,22 @@
return status;
}
+
+bool UbloxCellularBase::get_band_bitmask(uint64_t *m1_bitmask, uint64_t *nb1_bitmask) {
+
+ bool status = false;
+ int eBandMastRat0, eBandMastRat1;
+
+ LOCK();
+
+ if(_at->send("AT+UBANDMASK?") && _at->recv("+UBANDMASK: %d,%llu,%d,%llu", &eBandMastRat0, m1_bitmask, &eBandMastRat1, nb1_bitmask) && _at->recv("OK")) {
+
+ status = true;
+ }
+ UNLOCK();
+
+ return status;
+}
#endif //TARGET_UBLOX_C030_R41XM
#ifdef TARGET_UBLOX_C030_R412M
u-blox