Skip to content

Commit 4000e00

Browse files
author
Cruz Monrreal
authored
Merge pull request #7564 from wajahat-ublox/ublox_idle_mode
Cellular: Make ATHandler::cmd_start() virtual
2 parents 952930c + dfc8ca9 commit 4000e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/cellular/framework/AT/ATHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ATHandler {
7575
* @param send_delay the minimum delay in ms between the end of last response and the beginning of a new command
7676
*/
7777
ATHandler(FileHandle *fh, events::EventQueue &queue, int timeout, const char *output_delimiter, uint16_t send_delay = 0);
78-
~ATHandler();
78+
virtual ~ATHandler();
7979

8080
/** Return used file handle.
8181
*
@@ -226,7 +226,7 @@ class ATHandler {
226226
*
227227
* @param cmd AT command to be written to modem
228228
*/
229-
void cmd_start(const char *cmd);
229+
virtual void cmd_start(const char *cmd);
230230

231231
/** Writes integer type AT command subparameter. Starts with the delimiter if not the first param after cmd_start.
232232
* In case of failure when writing, the last error is set to NSAPI_ERROR_DEVICE_ERROR.

0 commit comments

Comments
 (0)