@@ -109,10 +109,10 @@ class PPPCellularInterface : public CellularBase {
109
109
* The file handle pointer is not accessed within the constructor, only recorded for later
110
110
* use - this permits a derived class to pass a pointer to a not-yet-constructed member object.
111
111
*/
112
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
112
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
113
113
PPPCellularInterface (FileHandle *fh, bool debug = false );
114
114
115
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
115
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
116
116
virtual ~PPPCellularInterface ();
117
117
118
118
/* * Set the Cellular network credentials
@@ -123,15 +123,15 @@ class PPPCellularInterface : public CellularBase {
123
123
* @param uname optionally, Username
124
124
* @param pwd optionally, password
125
125
*/
126
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
126
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
127
127
virtual void set_credentials (const char *apn, const char *uname = 0 ,
128
128
const char *pwd = 0 );
129
129
130
130
/* * Set the pin code for SIM card
131
131
*
132
132
* @param sim_pin PIN for the SIM card
133
133
*/
134
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
134
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
135
135
virtual void set_sim_pin (const char *sim_pin);
136
136
137
137
/* * Start the interface
@@ -149,7 +149,7 @@ class PPPCellularInterface : public CellularBase {
149
149
* @param pwd optionally, password
150
150
* @return NSAPI_ERROR_OK on success, or negative error code on failure
151
151
*/
152
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
152
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
153
153
virtual nsapi_error_t connect (const char *sim_pin, const char *apn = 0 ,
154
154
const char *uname = 0 , const char *pwd = 0 );
155
155
@@ -173,7 +173,7 @@ class PPPCellularInterface : public CellularBase {
173
173
* Preferred method is to setup APN using 'set_credentials()' API.
174
174
* @return 0 on success, negative error code on failure
175
175
*/
176
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
176
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
177
177
virtual nsapi_error_t connect ();
178
178
179
179
/* * Attempt to disconnect from the network
@@ -183,7 +183,7 @@ class PPPCellularInterface : public CellularBase {
183
183
*
184
184
* @return 0 on success, negative error code on failure
185
185
*/
186
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
186
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
187
187
virtual nsapi_error_t disconnect ();
188
188
189
189
/* * Adds or removes a SIM facility lock
@@ -196,7 +196,7 @@ class PPPCellularInterface : public CellularBase {
196
196
* @param set can be set to true if the SIM pin check is supposed to be enabled
197
197
* and vice versa.
198
198
*/
199
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
199
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
200
200
void set_sim_pin_check (bool set);
201
201
202
202
/* * Change the pin for the SIM card
@@ -207,7 +207,7 @@ class PPPCellularInterface : public CellularBase {
207
207
*
208
208
* @param new_pin new pin to be used in string format
209
209
*/
210
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
210
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
211
211
void set_new_sim_pin (const char *new_pin);
212
212
213
213
/* * Check if the connection is currently established or not
@@ -216,61 +216,61 @@ class PPPCellularInterface : public CellularBase {
216
216
* connected to an external packet data network using PPP, isConnected()
217
217
* API returns true and false otherwise.
218
218
*/
219
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
219
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
220
220
virtual bool is_connected ();
221
221
222
222
/* * Get the local IP address
223
223
*
224
224
* @return Null-terminated representation of the local IP address
225
225
* or null if no IP address has been recieved
226
226
*/
227
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
227
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
228
228
virtual const char *get_ip_address ();
229
229
230
230
/* * Get the local network mask
231
231
*
232
232
* @return Null-terminated representation of the local network mask
233
233
* or null if no network mask has been recieved
234
234
*/
235
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
235
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
236
236
virtual const char *get_netmask ();
237
237
238
238
/* * Get the local gateways
239
239
*
240
240
* @return Null-terminated representation of the local gateway
241
241
* or null if no network mask has been recieved
242
242
*/
243
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
243
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
244
244
virtual const char *get_gateway ();
245
245
246
246
247
247
/* * Turn modem debug traces on
248
248
*
249
249
* @param on set true to enable debug traces
250
250
*/
251
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
251
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
252
252
void modem_debug_on (bool on);
253
253
254
254
/* * Register callback for status reporting
255
255
*
256
256
* @param status_cb The callback for status changes
257
257
*/
258
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
258
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
259
259
virtual void attach (Callback<void (nsapi_event_t , intptr_t )> status_cb);
260
260
261
261
/* * Get the connection status
262
262
*
263
263
* @return The connection status according to nsapi_connection_status_t
264
264
*/
265
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
265
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
266
266
virtual nsapi_connection_status_t get_connection_status () const ;
267
267
268
268
/* * Set blocking status of connect() which by default should be blocking
269
269
*
270
270
* @param blocking true if connect is blocking
271
271
* @return 0 on success, negative error code on failure
272
272
*/
273
- MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/framework/API instead." )
273
+ MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
274
274
virtual nsapi_error_t set_blocking (bool blocking);
275
275
276
276
private:
0 commit comments