From 72d2f40bfffeacba4689a816ef03427151b6da4c Mon Sep 17 00:00:00 2001 From: Rajkumar Kanagaraj Date: Thu, 27 Feb 2020 04:51:36 -0800 Subject: [PATCH] Remove the deprecated ATCmdParser APIs. --- platform/ATCmdParser.h | 46 ------------------------------------------ 1 file changed, 46 deletions(-) diff --git a/platform/ATCmdParser.h b/platform/ATCmdParser.h index 02c7a6e6b43..0e7f92c8420 100644 --- a/platform/ATCmdParser.h +++ b/platform/ATCmdParser.h @@ -142,23 +142,6 @@ class ATCmdParser : private NonCopyable { _timeout = timeout; } - /** - * For backward compatibility. - * @deprecated Do not use this function. This function has been replaced with set_timeout for consistency. - * - * Please use set_timeout(int) API only from now on. - * Allows timeout to be changed between commands - * - * @param timeout ATCmdParser APIs (read/write/send/recv ..etc) throw an - * error if no response is received in `timeout` duration - * - */ - MBED_DEPRECATED_SINCE("mbed-os-5.5.0", "Replaced with set_timeout for consistency") - void setTimeout(int timeout) - { - set_timeout(timeout); - } - /** * Sets string of characters to use as line delimiters * @@ -170,21 +153,6 @@ class ATCmdParser : private NonCopyable { _output_delim_size = strlen(output_delimiter); } - /** - * For backwards compatibility. - * @deprecated Do not use this function. This function has been replaced with set_delimiter for consistency. - * - * Please use set_delimiter(const char *) API only from now on. - * Sets string of characters to use as line delimiters - * - * @param output_delimiter string of characters to use as line delimiters - */ - MBED_DEPRECATED_SINCE("mbed-os-5.5.0", "Replaced with set_delimiter for consistency") - void setDelimiter(const char *output_delimiter) - { - set_delimiter(output_delimiter); - } - /** * Allows traces from modem to be turned on or off * @@ -195,20 +163,6 @@ class ATCmdParser : private NonCopyable { _dbg_on = (on) ? 1 : 0; } - /** - * For backward compatibility. - * @deprecated Do not use this function. This function has been replaced with debug_on for consistency. - * - * Allows traces from modem to be turned on or off - * - * @param on Set as 1 to turn on traces and 0 to disable traces. - */ - MBED_DEPRECATED_SINCE("mbed-os-5.5.0", "Replaced with debug_on for consistency") - void debugOn(uint8_t on) - { - debug_on(on); - } - /** * Sends an AT command *