mirror of https://github.com/ARMmbed/mbed-os.git
A new API `CellularDevice::clear()` to clean-up the modem to a default initial state. Function is virtual so it can be overridden. The default implementation clears all PDP contexts, but the the first one if that has APN defined as `nsapi.default-cellular-apn`. CellularStateMachine calls `clear()` to clean-up the modem on initial `connect()`, if the flag `cellular.clear-on-connect: true` is defined. |
||
---|---|---|
.. | ||
API | ||
AT | ||
common | ||
device | ||
targets |