drx
Diff: UbloxCellularBase.cpp
- Revision:
- 29:2b91191eefb4
- Parent:
- 28:b3e8c2d2da58
- Child:
- 30:c57aea1e9cd4
--- a/UbloxCellularBase.cpp Tue Jul 30 16:32:28 2019 +0500 +++ b/UbloxCellularBase.cpp Tue Jul 30 17:06:57 2019 +0500 @@ -969,6 +969,8 @@ MBED_ASSERT(_at != NULL); + at_set_timeout(3*60*1000); //command has 3 minutes timeout + if (_at->send("AT+COPS=2") && _at->recv("OK")) { _dev_info.reg_status_csd = CSD_NOT_REGISTERED_NOT_SEARCHING; _dev_info.reg_status_psd = PSD_NOT_REGISTERED_NOT_SEARCHING;