ublox-cellular-base_psm
Diff: UbloxCellularBase.h
- Revision:
- 36:2f8ef6ac16dc
- Parent:
- 35:24f29bf0d810
- Child:
- 38:5ac7bc28d83d
diff -r 24f29bf0d810 -r 2f8ef6ac16dc UbloxCellularBase.h --- a/UbloxCellularBase.h Tue Nov 05 05:52:00 2019 +0000 +++ b/UbloxCellularBase.h Fri Nov 08 12:32:37 2019 +0500 @@ -261,7 +261,7 @@ #ifdef TARGET_UBLOX_C030_R41XM /** Set MNO profile. Profile will be applied on next boot. * - * User can also specify profile in mbed_lib.json ("default-mno-profile": 100) and in that case profile will be applied in init(). + * User can also specify profile in mbed_app.json ("default-mno-profile": 100) and in that case profile will be applied in init(). * Modem will also be rebooted so that profile parameters can be applied. * * Note: MNO profile should only be set in detached state and a reboot is required for settings to take effect @@ -494,7 +494,7 @@ * * @return True if successful, otherwise false. */ - bool disable_psm(); + bool disable_power_saving_mode(); #endif protected: @@ -794,14 +794,8 @@ void CEREG_URC(); void UMWI_URC(); #ifdef TARGET_UBLOX_C030_R412M - typedef enum { - DISABLED = 0, - ENABLED = 1, - UNKNOWN = 2 - } PSMStatus; bool set_psm_urcs(bool enable); void UUPSMR_URC(); - PSMStatus _psm_status; void *_cb_param_psm_going_in; Callback<void(void*)> _func_psm_going_in; /**< Callback. */ void *_cb_param_psm_coming_out; @@ -810,6 +804,12 @@ #endif #ifdef TARGET_UBLOX_C030_R41XM bool _default_profile_is_set; + typedef enum { + DISABLED = 0, + ENABLED = 1, + UNKNOWN = 2 + } PSMStatus; + PSMStatus _psm_status; #endif };