Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the deprecated ATCmdParser APIs. #12527

Merged
merged 1 commit into from
Feb 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions platform/ATCmdParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,23 +142,6 @@ class ATCmdParser : private NonCopyable<ATCmdParser> {
_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
*
Expand All @@ -170,21 +153,6 @@ class ATCmdParser : private NonCopyable<ATCmdParser> {
_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
*
Expand All @@ -195,20 +163,6 @@ class ATCmdParser : private NonCopyable<ATCmdParser> {
_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
*
Expand Down