Cellular: added deprecation note for parameter timeout in set_attach.

pull/6570/head
Teppo Järvelin 2018-04-09 13:32:16 +03:00
parent 9b0b92bb1c
commit 0b5fae3670
1 changed files with 2 additions and 0 deletions

View File

@ -272,9 +272,11 @@ public:
/** Request attach to network. /** 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 * @param timeout milliseconds to wait for attach response
* @return zero on success * @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; virtual nsapi_error_t set_attach(int timeout = 10*1000) = 0;
/** Request attach status from network. /** Request attach status from network.