@@ -91,6 +91,8 @@ typedef struct {
9191} device_info;
9292
9393/* * PPPCellularInterface class
94+ *
95+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
9496 *
9597 * This interface serves as the controller/driver for the Cellular
9698 * modems (tested with UBLOX_C027 and MTS_DRAGONFLY_F411RE).
@@ -105,17 +107,25 @@ class PPPCellularInterface : public CellularBase {
105107public:
106108
107109 /* * Constructor for a generic modem, using a single FileHandle for commands and PPP data.
110+ *
111+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
108112 *
109113 * The file handle pointer is not accessed within the constructor, only recorded for later
110114 * use - this permits a derived class to pass a pointer to a not-yet-constructed member object.
111115 */
112116 MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
113117 PPPCellularInterface (FileHandle *fh, bool debug = false );
114118
119+ /* * Destructor
120+ *
121+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
122+ */
115123 MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
116124 virtual ~PPPCellularInterface ();
117125
118126 /* * Set the Cellular network credentials
127+ *
128+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
119129 *
120130 * Please check documentation of connect() for default behaviour of APN settings.
121131 *
@@ -128,13 +138,17 @@ class PPPCellularInterface : public CellularBase {
128138 const char *pwd = 0 );
129139
130140 /* * Set the pin code for SIM card
141+ *
142+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
131143 *
132144 * @param sim_pin PIN for the SIM card
133145 */
134146 MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
135147 virtual void set_sim_pin (const char *sim_pin);
136148
137149 /* * Start the interface
150+ *
151+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
138152 *
139153 * Attempts to connect to a Cellular network.
140154 * This driver is written mainly for data network connections as CellularInterface
@@ -154,6 +168,8 @@ class PPPCellularInterface : public CellularBase {
154168 const char *uname = 0 , const char *pwd = 0 );
155169
156170 /* * Attempt to connect to the Cellular network
171+ *
172+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
157173 *
158174 * Brings up the network interface. Connects to the Cellular Radio
159175 * network and then brings up the underlying network stack to be used
@@ -187,6 +203,8 @@ class PPPCellularInterface : public CellularBase {
187203 virtual nsapi_error_t disconnect ();
188204
189205 /* * Adds or removes a SIM facility lock
206+ *
207+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
190208 *
191209 * Can be used to enable or disable SIM pin check at device startup.
192210 * This API sets up flags for the driver which would either enable or disable
@@ -200,6 +218,8 @@ class PPPCellularInterface : public CellularBase {
200218 void set_sim_pin_check (bool set);
201219
202220 /* * Change the pin for the SIM card
221+ *
222+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
203223 *
204224 * Provide the new pin for your SIM card with this API. Old pin code will be assumed to
205225 * be set using set_SIM_pin() API. This API have no immediate effect. While establishing
@@ -211,6 +231,8 @@ class PPPCellularInterface : public CellularBase {
211231 void set_new_sim_pin (const char *new_pin);
212232
213233 /* * Check if the connection is currently established or not
234+ *
235+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
214236 *
215237 * @return true/false If the cellular module have successfully acquired a carrier and is
216238 * connected to an external packet data network using PPP, isConnected()
@@ -220,6 +242,8 @@ class PPPCellularInterface : public CellularBase {
220242 virtual bool is_connected ();
221243
222244 /* * Get the local IP address
245+ *
246+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
223247 *
224248 * @return Null-terminated representation of the local IP address
225249 * or null if no IP address has been received
@@ -228,6 +252,8 @@ class PPPCellularInterface : public CellularBase {
228252 virtual const char *get_ip_address ();
229253
230254 /* * Get the local network mask
255+ *
256+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
231257 *
232258 * @return Null-terminated representation of the local network mask
233259 * or null if no network mask has been received
@@ -236,6 +262,8 @@ class PPPCellularInterface : public CellularBase {
236262 virtual const char *get_netmask ();
237263
238264 /* * Get the local gateways
265+ *
266+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
239267 *
240268 * @return Null-terminated representation of the local gateway
241269 * or null if no network mask has been received
@@ -252,20 +280,26 @@ class PPPCellularInterface : public CellularBase {
252280 void modem_debug_on (bool on);
253281
254282 /* * Register callback for status reporting
283+ *
284+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
255285 *
256286 * @param status_cb The callback for status changes
257287 */
258288 MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
259289 virtual void attach (Callback<void (nsapi_event_t , intptr_t )> status_cb);
260290
261291 /* * Get the connection status
292+ *
293+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
262294 *
263295 * @return The connection status according to nsapi_connection_status_t
264296 */
265297 MBED_DEPRECATED_SINCE (" mbed-os-5.9" , " This API will be deprecated, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead." )
266298 virtual nsapi_connection_status_t get_connection_status () const ;
267299
268300 /* * Set blocking status of connect() which by default should be blocking
301+ *
302+ * @deprecated This API will be deprecated mbed-os-5.9, use mbed-os/features/cellular/easy_cellular/EasyCellularConnection.h instead.
269303 *
270304 * @param blocking true if connect is blocking
271305 * @return 0 on success, negative error code on failure
0 commit comments