Implementation of the CellularInterface for u-blox C027 and C030 (non-N2xx flavour) modems that uses the IP stack on-board the cellular modem, hence not requiring LWIP (and so less RAM) and allowing any AT command exchanges to be carried out at the same time as data transfers (since the modem remains in AT mode all the time). This library may be used from mbed 5.5 onwards. If you need to use SMS, USSD or access the modem file system at the same time as using the CellularInterface then use ublox-at-cellular-interface-ext instead.
Dependents: example-ublox-cellular-interface example-ublox-cellular-interface_r410M example-ublox-mbed-client example-ublox-cellular-interface ... more
Revision 11:cc41a8636f7e, committed 2018-01-02
- Comitter:
- mudassar0121
- Date:
- Tue Jan 02 07:48:15 2018 +0000
- Parent:
- 10:ba18f4418ee8
- Commit message:
- Support added for R410M
Changed in this revision
UbloxATCellularInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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; }