Zephyr API 3.6.99
Loading...
Searching...
No Matches
modem_chat_config Struct Reference

Chat configuration. More...

#include <chat.h>

Data Fields

void * user_data
 Free to use user data passed with modem match callbacks.
 
uint8_treceive_buf
 Receive buffer used to store parsed arguments.
 
uint16_t receive_buf_size
 Size of receive buffer should be longest line + longest match.
 
uint8_tdelimiter
 Delimiter.
 
uint8_t delimiter_size
 Size of delimiter.
 
uint8_tfilter
 Bytes which are discarded by parser.
 
uint8_t filter_size
 Size of filter.
 
uint8_t ** argv
 Array of pointers used to point to parsed arguments.
 
uint16_t argv_size
 Elements in array of pointers.
 
const struct modem_chat_matchunsol_matches
 Array of unsolicited matches.
 
uint16_t unsol_matches_size
 Elements in array of unsolicited matches.
 

Detailed Description

Chat configuration.

Field Documentation

◆ argv

uint8_t** modem_chat_config::argv

Array of pointers used to point to parsed arguments.

◆ argv_size

uint16_t modem_chat_config::argv_size

Elements in array of pointers.

◆ delimiter

uint8_t* modem_chat_config::delimiter

Delimiter.

◆ delimiter_size

uint8_t modem_chat_config::delimiter_size

Size of delimiter.

◆ filter

uint8_t* modem_chat_config::filter

Bytes which are discarded by parser.

◆ filter_size

uint8_t modem_chat_config::filter_size

Size of filter.

◆ receive_buf

uint8_t* modem_chat_config::receive_buf

Receive buffer used to store parsed arguments.

◆ receive_buf_size

uint16_t modem_chat_config::receive_buf_size

Size of receive buffer should be longest line + longest match.

◆ unsol_matches

const struct modem_chat_match* modem_chat_config::unsol_matches

Array of unsolicited matches.

◆ unsol_matches_size

uint16_t modem_chat_config::unsol_matches_size

Elements in array of unsolicited matches.

◆ user_data

void* modem_chat_config::user_data

Free to use user data passed with modem match callbacks.


The documentation for this struct was generated from the following file: