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

◆ at_match_str()

struct at_token at_match_str ( const char *  at,
const char **  remainder 
)

#include <lib/at_parser/at_match.h>

Match a singleline string subparameter.

This function returns an AT token representing a singleline string subparameter. In case of success, this function updates remainder to point to the remaining string after trimming the matched AT token.

Parameters
[in]atAT command string to match.
[out]remainderRemainder of the AT command string after a successful match.
Returns
Matched AT token in case of success. AT token of type AT_TOKEN_TYPE_INVALID in case of failure,