Skip to content

Commit 0b5fae3

Browse files
author
Teppo Järvelin
committed
Cellular: added deprecation note for parameter timeout in set_attach.
1 parent 9b0b92b commit 0b5fae3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/cellular/framework/API/CellularNetwork.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,11 @@ class CellularNetwork : public NetworkInterface
272272

273273
/** Request attach to network.
274274
*
275+
* @deprecated Parameter timeout will be deprecated. Use mbed-os/features/cellular/framework/API/CellularDevice.h set_timeout instead.
275276
* @param timeout milliseconds to wait for attach response
276277
* @return zero on success
277278
*/
279+
MBED_DEPRECATED_SINCE("mbed-os-5.9", "Parameter timeout will be deprecated. Use mbed-os/features/cellular/framework/API/CellularDevice.h set_timeout instead.")
278280
virtual nsapi_error_t set_attach(int timeout = 10*1000) = 0;
279281

280282
/** Request attach status from network.

0 commit comments

Comments
 (0)