Merge pull request #7564 from wajahat-ublox/ublox_idle_mode

Cellular: Make ATHandler::cmd_start() virtual
pull/7604/merge
Cruz Monrreal 2018-08-02 10:11:55 -05:00 committed by GitHub
commit 4000e009c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public:
* @param send_delay the minimum delay in ms between the end of last response and the beginning of a new command
*/
ATHandler(FileHandle *fh, events::EventQueue &queue, int timeout, const char *output_delimiter, uint16_t send_delay = 0);
~ATHandler();
virtual ~ATHandler();
/** Return used file handle.
*
@ -226,7 +226,7 @@ public:
*
* @param cmd AT command to be written to modem
*/
void cmd_start(const char *cmd);
virtual void cmd_start(const char *cmd);
/** Writes integer type AT command subparameter. Starts with the delimiter if not the first param after cmd_start.
* In case of failure when writing, the last error is set to NSAPI_ERROR_DEVICE_ERROR.