mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: added deprecation note for parameter timeout in set_attach.
parent
9b0b92bb1c
commit
0b5fae3670
|
|
@ -272,9 +272,11 @@ public:
|
|||
|
||||
/** Request attach to network.
|
||||
*
|
||||
* @deprecated Parameter timeout will be deprecated. Use mbed-os/features/cellular/framework/API/CellularDevice.h set_timeout instead.
|
||||
* @param timeout milliseconds to wait for attach response
|
||||
* @return zero on success
|
||||
*/
|
||||
MBED_DEPRECATED_SINCE("mbed-os-5.9", "Parameter timeout will be deprecated. Use mbed-os/features/cellular/framework/API/CellularDevice.h set_timeout instead.")
|
||||
virtual nsapi_error_t set_attach(int timeout = 10*1000) = 0;
|
||||
|
||||
/** Request attach status from network.
|
||||
|
|
|
|||
Loading…
Reference in New Issue