Library that implements the CellularInterface using PPP and LWIP on the mbed MCU. May be used on the C027 and C030 (non-N2xx flavour) boards from mbed 5.5 onwards.
Dependents: example-ublox-cellular-interface HelloMQTT example-ublox-cellular-interface_r410M example-ublox-mbed-client
Diff: UbloxPPPCellularInterface.h
- Revision:
- 3:9863dcade75d
- Parent:
- 2:4c533665168c
--- a/UbloxPPPCellularInterface.h Fri Jun 30 13:30:20 2017 +0100 +++ b/UbloxPPPCellularInterface.h Wed Feb 28 17:33:50 2018 +0000 @@ -197,7 +197,7 @@ * * @param fptr the function to call. */ - void connection_status_cb(Callback<void(nsapi_error_t)> cb); + void connection_status_cb(Callback<void(nsapi_event_t, intptr_t)> cb); protected: @@ -232,7 +232,7 @@ bool _sim_pin_check_change_pending_enabled_value; bool _sim_pin_change_pending; const char *_sim_pin_change_pending_new_pin_value; - Callback<void(nsapi_error_t)> _connection_status_cb; + Callback<void(nsapi_event_t, intptr_t)> _connection_status_cb; nsapi_error_t setup_context_and_credentials(); bool set_atd(); };