Fork of ublox-at-cellular-interface to add LARA-R2 support
Fork of ublox-at-cellular-interface by
Diff: UbloxATCellularInterface.cpp
- Revision:
- 13:39264b492ce7
- Parent:
- 12:ff6fac481487
- Child:
- 14:e7dcf3388403
--- a/UbloxATCellularInterface.cpp Tue Jan 09 13:20:44 2018 +0000 +++ b/UbloxATCellularInterface.cpp Wed Jan 10 09:44:24 2018 +0000 @@ -1088,7 +1088,11 @@ } // Attempt to establish a connection +#ifdef TARGET_UBLOX_C030_R410M + if (registered) { +#else if (registered && connect_modem_stack()) { +#endif nsapi_error = NSAPI_ERROR_OK; }