From 0b5fae367035a318ec769e3d968eca765828c031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teppo=20J=C3=A4rvelin?= Date: Mon, 9 Apr 2018 13:32:16 +0300 Subject: [PATCH] Cellular: added deprecation note for parameter timeout in set_attach. --- features/cellular/framework/API/CellularNetwork.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/cellular/framework/API/CellularNetwork.h b/features/cellular/framework/API/CellularNetwork.h index 4094a07838..0b9fc19e5e 100644 --- a/features/cellular/framework/API/CellularNetwork.h +++ b/features/cellular/framework/API/CellularNetwork.h @@ -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.