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 28:a8e1f25a8a52, committed 2019-08-05
- Comitter:
- mudassar0121
- Date:
- Mon Aug 05 11:55:52 2019 +0500
- Parent:
- 26:e4e444cc7b14
- Parent:
- 27:250eaef6232d
- Child:
- 29:8a38f91009ad
- Commit message:
- merge branch 'reset_timeout' to default
Changed in this revision
--- a/UbloxCellularBase.cpp Thu Aug 01 18:57:01 2019 +0500
+++ b/UbloxCellularBase.cpp Mon Aug 05 11:55:52 2019 +0500
@@ -974,6 +974,7 @@
MBED_ASSERT(_at != NULL);
+ int at_timeout = _at_timeout; // Has to be inside LOCK()s
at_set_timeout(3*60*1000); //command has 3 minutes timeout
if (_at->send("AT+COPS=2") && _at->recv("OK")) {
@@ -983,6 +984,7 @@
success = true;
}
+ at_set_timeout(at_timeout);
UNLOCK();
return success;
}
u-blox