nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
at_token.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_TOKEN_H__
8#define AT_TOKEN_H__
9
10#include <zephyr/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
47};
48
53};
54
56struct at_token {
57 const char *start;
58 size_t len;
61};
62
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* AT_TOKEN_H__ */
at_token_var
AT token variants based on the presence or absence of a comma after the subparameter.
Definition: at_token.h:50
@ AT_TOKEN_VAR_COMMA
Definition: at_token.h:52
@ AT_TOKEN_VAR_NO_COMMA
Definition: at_token.h:51
at_token_type
AT token types that can be matched from an AT command string.
Definition: at_token.h:26
@ AT_TOKEN_TYPE_CMD_TEST
Definition: at_token.h:30
@ AT_TOKEN_TYPE_QUOTED_STRING
Definition: at_token.h:40
@ AT_TOKEN_TYPE_NOTIF
Definition: at_token.h:36
@ AT_TOKEN_TYPE_CMD_SET
Definition: at_token.h:34
@ AT_TOKEN_TYPE_CMD_READ
Definition: at_token.h:32
@ AT_TOKEN_TYPE_STRING
Definition: at_token.h:46
@ AT_TOKEN_TYPE_ARRAY
Definition: at_token.h:42
@ AT_TOKEN_TYPE_INVALID
Definition: at_token.h:28
@ AT_TOKEN_TYPE_EMPTY
Definition: at_token.h:44
@ AT_TOKEN_TYPE_INT
Definition: at_token.h:38
const char * start
Definition: at_token.h:57
enum at_token_var var
Definition: at_token.h:60
size_t len
Definition: at_token.h:58
enum at_token_type type
Definition: at_token.h:59
An AT token is defined with a start pointer, a length, a type, and a variant.
Definition: at_token.h:56