@@ -72,7 +72,7 @@ class CellularPower {
72
72
* @remark must be called after power on to prepare correct AT mode
73
73
*
74
74
* @return NSAPI_ERROR_OK on success
75
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
75
+ * NSAPI_ERROR_DEVICE_ERROR on failure
76
76
*/
77
77
virtual nsapi_error_t set_at_mode () = 0;
78
78
@@ -91,26 +91,26 @@ class CellularPower {
91
91
* @remark See 3GPP TS 27.007 CFUN for more details
92
92
*
93
93
* @return NSAPI_ERROR_OK on success
94
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
94
+ * NSAPI_ERROR_DEVICE_ERROR on failure
95
95
*/
96
96
virtual nsapi_error_t set_power_level (int func_level, int do_reset = 0 ) = 0;
97
97
98
98
/* * Reset and wake-up cellular device.
99
99
*
100
100
* @return NSAPI_ERROR_OK on success
101
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
101
+ * NSAPI_ERROR_DEVICE_ERROR on failure
102
102
*/
103
103
virtual nsapi_error_t reset () = 0;
104
104
105
- /* * Opt for power save setting on cellular device. If both parameters are zero then disables PSM.
105
+ /* * Opt for power save setting on cellular device. If both parameters are zero, this disables PSM.
106
106
*
107
107
* @remark See 3GPP TS 27.007 PSM for details
108
108
*
109
109
* @param periodic_time Timeout in seconds IoT subsystem is not expecting messaging
110
110
* @param active_time Timeout in seconds IoT subsystem waits for response
111
111
*
112
112
* @return NSAPI_ERROR_OK on success
113
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
113
+ * NSAPI_ERROR_DEVICE_ERROR on failure
114
114
*/
115
115
virtual nsapi_error_t opt_power_save_mode (int periodic_time, int active_time) = 0;
116
116
@@ -123,14 +123,14 @@ class CellularPower {
123
123
* @param edrx_value requested edxr value. Extended DRX parameters information element.
124
124
*
125
125
* @return NSAPI_ERROR_OK on success
126
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
126
+ * NSAPI_ERROR_DEVICE_ERROR on failure
127
127
*/
128
128
virtual nsapi_error_t opt_receive_period (int mode, EDRXAccessTechnology act_type, uint8_t edrx_value) = 0;
129
129
130
130
/* * Check whether the device is ready to accept commands.
131
131
*
132
132
* @return NSAPI_ERROR_OK on success
133
- * NSAPI_ERROR_DEVICE_ERROR on case of failure
133
+ * NSAPI_ERROR_DEVICE_ERROR on failure
134
134
*/
135
135
virtual nsapi_error_t is_device_ready () = 0;
136
136
@@ -141,7 +141,7 @@ class CellularPower {
141
141
* @param callback Callback function called when urc received
142
142
*
143
143
* @return NSAPI_ERROR_OK on success
144
- * NSAPI_ERROR_NO_MEMORY on case of memory failure
144
+ * NSAPI_ERROR_NO_MEMORY on memory failure
145
145
* NSAPI_ERROR_UNSUPPORTED if not overridden by the target modem
146
146
*/
147
147
virtual nsapi_error_t set_device_ready_urc_cb (mbed::Callback<void ()> callback) = 0;
0 commit comments