nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ at_parser_cmd_count_get()

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.

Parameters
[in]parserA pointer to the AT parser.
[out]countA pointer to the number of parsed values.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.
-EINVALOne or more of the supplied parameters are invalid.
-EPERMparser has not been initialized.
-EBADMSGThe AT command string is malformed.