nRF Connect SDK API 2.8.99
|
int at_parser_cmd_count_get | ( | struct at_parser * | parser, |
size_t * | count ) |
#include <include/modem/at_parser.h>
Get the number of values that exist in the current AT command line.
[in] | parser | A pointer to the AT parser. |
[out] | count | A pointer to the number of parsed values. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |
-EINVAL | One or more of the supplied parameters are invalid. |
-EPERM | parser has not been initialized. |
-EBADMSG | The AT command string is malformed. |