Skip to content

Commit d1456cd

Browse files
author
Ari Parkkila
committed
Cellular: Mark to be deprecated in CellularDevice
1 parent e03180d commit d1456cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/cellular/framework/API/CellularDevice.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,14 @@ class CellularDevice {
222222
/** Stop the current operation. Operations: set_device_ready, set_sim_ready, register_to_network, attach_to_network
223223
*
224224
*/
225+
MBED_DEPRECATED_SINCE("mbed-os-5.15", "Use CellularDevice::shutdown() instead.")
225226
void stop();
226227

227228
/** Get the current FileHandle item used when communicating with the modem.
228229
*
229230
* @return reference to FileHandle
230231
*/
232+
MBED_DEPRECATED_SINCE("mbed-os-5.15", "Use CellularDevice::get_at_handler()->get_filehandle() instead.")
231233
FileHandle &get_file_handle() const;
232234

233235
/** Get event queue that can be chained to main event queue.

0 commit comments

Comments
 (0)