nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
at_match.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef AT_MATCH_H__
8#define AT_MATCH_H__
9
10#include "at_token.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
39struct at_token at_match_cmd(const char *at, const char **remainder);
40
54struct at_token at_match_subparam(const char *at, const char **remainder);
55
69struct at_token at_match_str(const char *at, const char **remainder);
70
73#ifdef __cplusplus
74}
75#endif
76
77#endif /* AT_MATCH_H__ */
struct at_token at_match_cmd(const char *at, const char **remainder)
Match an AT command prefix.
struct at_token at_match_subparam(const char *at, const char **remainder)
Match a subparameter.
struct at_token at_match_str(const char *at, const char **remainder)
Match a singleline string subparameter.
An AT token is defined with a start pointer, a length, a type, and a variant.
Definition: at_token.h:56