nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
AT Command utility functions.

AT parser utility functions to deal with strings. More...

Macros

#define AT_PARAM_SEPARATOR   ','
 
#define AT_RSP_SEPARATOR   ':'
 
#define AT_CMD_SEPARATOR   '='
 
#define AT_CMD_READ_TEST_IDENTIFIER   '?'
 
#define AT_CMD_BUFFER_TERMINATOR   0
 
#define AT_CMD_STRING_IDENTIFIER   '\"'
 
#define AT_STANDARD_NOTIFICATION_PREFIX   '+'
 
#define AT_PROP_NOTIFICATION_PREFX   '%'
 
#define AT_CUSTOM_COMMAND_PREFX   '#'
 

Functions

static bool is_notification (char chr)
 Check if character is a notification start character.
 
static bool is_valid_command_char (char chr)
 Verify that the character is a valid character.
 
static bool is_valid_notification_char (char chr)
 Verify that the character is a valid character.
 
static bool is_terminated (char chr)
 Check if the character identifies the end of the buffer.
 
static bool is_separator (char chr)
 Check if character is a valid AT string separator.
 
static bool is_lfcr (char chr)
 Check if character linefeed or carry return characters.
 
static bool is_dblquote (char chr)
 Check if character is a double quote character.
 
static bool is_array_start (char chr)
 Check if character is an array start character.
 
static bool is_array_stop (char chr)
 Check if character is an array stop character.
 
static bool is_number (char chr)
 Check if character is a number character (including + and -)
 
static bool is_command (const char *str)
 Check if a string is a beginning of an AT command.
 
static bool is_clac (const char *str)
 Check if a string is a beginning of an AT CLAC response.
 

Detailed Description

AT parser utility functions to deal with strings.