mirror of https://github.com/ARMmbed/mbed-os.git
Remove the deprecated ATCmdParser APIs.
parent
2d93a4578d
commit
72d2f40bff
|
@ -142,23 +142,6 @@ public:
|
|||
_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 @@ public:
|
|||
_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 @@ public:
|
|||
_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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue