Fork of ublox-at-cellular-interface to add LARA-R2 support
Fork of ublox-at-cellular-interface by
Diff: UbloxATCellularInterface.cpp
- Revision:
- 11:cc41a8636f7e
- Parent:
- 10:ba18f4418ee8
diff -r ba18f4418ee8 -r cc41a8636f7e UbloxATCellularInterface.cpp --- a/UbloxATCellularInterface.cpp Mon Oct 30 14:48:14 2017 +0000 +++ b/UbloxATCellularInterface.cpp Tue Jan 02 07:48:15 2018 +0000 @@ -1090,7 +1090,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; }