Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
modem_chat Struct Reference

Chat instance internal context. More...

#include <chat.h>

Data Fields

struct modem_pipe * pipe
 
void * user_data
 
uint8_treceive_buf
 
uint16_t receive_buf_size
 
uint16_t receive_buf_len
 
uint8_t work_buf [32]
 
uint16_t work_buf_len
 
uint8_tdelimiter
 
uint16_t delimiter_size
 
uint16_t delimiter_match_len
 
uint8_tfilter
 
uint16_t filter_size
 
uint8_t ** argv
 
uint16_t argv_size
 
uint16_t argc
 
const struct modem_chat_matchmatches [3]
 
uint16_t matches_size [3]
 
const struct modem_chat_scriptscript
 
const struct modem_chat_scriptpending_script
 
struct k_work script_run_work
 
struct k_work_delayable script_timeout_work
 
struct k_work script_abort_work
 
uint16_t script_chat_it
 
atomic_t script_state
 
enum modem_chat_script_result script_result
 
struct k_sem script_stopped_sem
 
enum modem_chat_script_send_state script_send_state
 
uint16_t script_send_pos
 
struct k_work script_send_work
 
struct k_work_delayable script_send_timeout_work
 
const struct modem_chat_matchparse_match
 
uint16_t parse_match_len
 
uint16_t parse_arg_len
 
uint16_t parse_match_type
 
struct k_work receive_work
 

Detailed Description

Chat instance internal context.

Warning
Do not modify any members of this struct directly

Field Documentation

◆ argc

uint16_t modem_chat::argc

◆ argv

uint8_t** modem_chat::argv

◆ argv_size

uint16_t modem_chat::argv_size

◆ delimiter

uint8_t* modem_chat::delimiter

◆ delimiter_match_len

uint16_t modem_chat::delimiter_match_len

◆ delimiter_size

uint16_t modem_chat::delimiter_size

◆ filter

uint8_t* modem_chat::filter

◆ filter_size

uint16_t modem_chat::filter_size

◆ matches

const struct modem_chat_match* modem_chat::matches[3]

◆ matches_size

uint16_t modem_chat::matches_size[3]

◆ parse_arg_len

uint16_t modem_chat::parse_arg_len

◆ parse_match

const struct modem_chat_match* modem_chat::parse_match

◆ parse_match_len

uint16_t modem_chat::parse_match_len

◆ parse_match_type

uint16_t modem_chat::parse_match_type

◆ pending_script

const struct modem_chat_script* modem_chat::pending_script

◆ pipe

struct modem_pipe* modem_chat::pipe

◆ receive_buf

uint8_t* modem_chat::receive_buf

◆ receive_buf_len

uint16_t modem_chat::receive_buf_len

◆ receive_buf_size

uint16_t modem_chat::receive_buf_size

◆ receive_work

struct k_work modem_chat::receive_work

◆ script

const struct modem_chat_script* modem_chat::script

◆ script_abort_work

struct k_work modem_chat::script_abort_work

◆ script_chat_it

uint16_t modem_chat::script_chat_it

◆ script_result

enum modem_chat_script_result modem_chat::script_result

◆ script_run_work

struct k_work modem_chat::script_run_work

◆ script_send_pos

uint16_t modem_chat::script_send_pos

◆ script_send_state

enum modem_chat_script_send_state modem_chat::script_send_state

◆ script_send_timeout_work

struct k_work_delayable modem_chat::script_send_timeout_work

◆ script_send_work

struct k_work modem_chat::script_send_work

◆ script_state

atomic_t modem_chat::script_state

◆ script_stopped_sem

struct k_sem modem_chat::script_stopped_sem

◆ script_timeout_work

struct k_work_delayable modem_chat::script_timeout_work

◆ user_data

void* modem_chat::user_data

◆ work_buf

uint8_t modem_chat::work_buf[32]

◆ work_buf_len

uint16_t modem_chat::work_buf_len

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