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

◆ at_parser_init()

int at_parser_init ( struct at_parser parser,
const char *  at 
)

#include <include/modem/at_parser.h>

Initialize an AT parser for a given AT command string.

Parameters
[in]parserA pointer to the AT parser.
[in]atA pointer to the AT command string to parse.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.
-EINVALOne or more of the supplied parameters are invalid.