Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ATParser.cpp
- Revision:
- 8:91515b168c70
- Parent:
- 7:d1b193880af1
- Child:
- 9:9bcb87c27208
diff -r d1b193880af1 -r 91515b168c70 ATParser.cpp --- a/ATParser.cpp Mon Jul 20 18:23:54 2015 +0000 +++ b/ATParser.cpp Mon Jul 20 20:56:30 2015 +0000 @@ -195,20 +195,6 @@ return true; } -bool ATParser::vcommand(const char *command, const char *response, va_list args) { - if (command) { - if (!vsend(command, args)) - return false; - } - - if (response) { - if (!vrecv(response, args)) - return false; - } - - return true; -} - // Mapping to vararg functions bool ATParser::send(const char *command, ...) { @@ -226,11 +212,3 @@ va_end(args); return res; } - -bool ATParser::command(const char *command, const char *response, ...) { - va_list args; - va_start(args, response); - bool res = vcommand(command, response, args); - va_end(args); - return res; -}