|  | 
| #define | MODEM_CHAT_MATCH(_match,  _separators,  _callback) | 
|  | 
| #define | MODEM_CHAT_MATCH_WILDCARD(_match,  _separators,  _callback) | 
|  | 
| #define | MODEM_CHAT_MATCH_INITIALIZER(_match,  _separators,  _callback,  _wildcards,  _partial) | 
|  | 
| #define | MODEM_CHAT_MATCH_DEFINE(_sym,  _match,  _separators,  _callback)   	const static struct modem_chat_match _sym = MODEM_CHAT_MATCH(_match, _separators, _callback) | 
|  | 
| #define | MODEM_CHAT_MATCH_WILDCARD_DEFINE(_sym,  _match,  _separators,  _callback) | 
|  | 
| #define | MODEM_CHAT_MATCHES_DEFINE(_sym, ...)   	const static struct modem_chat_match _sym[] = {__VA_ARGS__} | 
|  | 
| #define | MODEM_CHAT_SCRIPT_CMD_RESP(_request,  _response_match) | 
|  | 
| #define | MODEM_CHAT_SCRIPT_CMD_RESP_MULT(_request,  _response_matches) | 
|  | 
| #define | MODEM_CHAT_SCRIPT_CMD_RESP_NONE(_request,  _timeout_ms) | 
|  | 
| #define | MODEM_CHAT_SCRIPT_CMDS_DEFINE(_sym, ...)   	const static struct modem_chat_script_chat _sym[] = {__VA_ARGS__} | 
|  | 
| #define | MODEM_CHAT_SCRIPT_DEFINE(_sym,  _script_chats,  _abort_matches,  _callback,  _timeout_s) | 
|  | 
| #define | MODEM_CHAT_SCRIPT_NO_ABORT_DEFINE(_sym,  _script_chats,  _callback,  _timeout_s) | 
|  | 
| #define | MODEM_CHAT_SCRIPT_EMPTY_DEFINE(_sym)   	MODEM_CHAT_SCRIPT_NO_ABORT_DEFINE(_sym, modem_chat_empty_script_chats, NULL, 0) | 
|  | 
|  | 
| int | modem_chat_init (struct modem_chat *chat, const struct modem_chat_config *config) | 
|  | Initialize modem pipe chat instance. 
 | 
|  | 
| int | modem_chat_attach (struct modem_chat *chat, struct modem_pipe *pipe) | 
|  | Attach modem chat instance to pipe. 
 | 
|  | 
| bool | modem_chat_is_running (struct modem_chat *chat) | 
|  | Check if a script is running. 
 | 
|  | 
| int | modem_chat_run_script_async (struct modem_chat *chat, const struct modem_chat_script *script) | 
|  | Run script asynchronously. 
 | 
|  | 
| int | modem_chat_run_script (struct modem_chat *chat, const struct modem_chat_script *script) | 
|  | Run script. 
 | 
|  | 
| static int | modem_chat_script_run (struct modem_chat *chat, const struct modem_chat_script *script) | 
|  | Run script asynchronously. 
 | 
|  | 
| void | modem_chat_script_abort (struct modem_chat *chat) | 
|  | Abort script. 
 | 
|  | 
| void | modem_chat_release (struct modem_chat *chat) | 
|  | Release pipe from chat instance. 
 | 
|  | 
| void | modem_chat_match_init (struct modem_chat_match *chat_match) | 
|  | Initialize modem chat match. 
 | 
|  | 
| int | modem_chat_match_set_match (struct modem_chat_match *chat_match, const char *match) | 
|  | Set match of modem chat match instance. 
 | 
|  | 
| int | modem_chat_match_set_separators (struct modem_chat_match *chat_match, const char *separators) | 
|  | Set separators of modem chat match instance. 
 | 
|  | 
| void | modem_chat_match_set_callback (struct modem_chat_match *chat_match, modem_chat_match_callback callback) | 
|  | Set modem chat match callback. 
 | 
|  | 
| void | modem_chat_match_set_partial (struct modem_chat_match *chat_match, bool partial) | 
|  | Set modem chat match partial flag. 
 | 
|  | 
| void | modem_chat_match_enable_wildcards (struct modem_chat_match *chat_match, bool enable) | 
|  | Set modem chat match wildcards flag. 
 | 
|  | 
| void | modem_chat_script_chat_init (struct modem_chat_script_chat *script_chat) | 
|  | Initialize modem chat script chat. 
 | 
|  | 
| int | modem_chat_script_chat_set_request (struct modem_chat_script_chat *script_chat, const char *request) | 
|  | Set request of modem chat script chat instance. 
 | 
|  | 
| int | modem_chat_script_chat_set_response_matches (struct modem_chat_script_chat *script_chat, const struct modem_chat_match *response_matches, uint16_t response_matches_size) | 
|  | Set modem chat script chat matches. 
 | 
|  | 
| void | modem_chat_script_chat_set_timeout (struct modem_chat_script_chat *script_chat, uint16_t timeout_ms) | 
|  | Set modem chat script chat timeout. 
 | 
|  | 
| void | modem_chat_script_init (struct modem_chat_script *script) | 
|  | Initialize modem chat script. 
 | 
|  | 
| void | modem_chat_script_set_name (struct modem_chat_script *script, const char *name) | 
|  | Set modem chat script name. 
 | 
|  | 
| int | modem_chat_script_set_script_chats (struct modem_chat_script *script, const struct modem_chat_script_chat *script_chats, uint16_t script_chats_size) | 
|  | Set modem chat script chats. 
 | 
|  | 
| int | modem_chat_script_set_abort_matches (struct modem_chat_script *script, const struct modem_chat_match *abort_matches, uint16_t abort_matches_size) | 
|  | Set modem chat script abort matches. 
 | 
|  | 
| void | modem_chat_script_set_callback (struct modem_chat_script *script, modem_chat_script_callback callback) | 
|  | Set modem chat script callback. 
 | 
|  | 
| void | modem_chat_script_set_timeout (struct modem_chat_script *script, uint32_t timeout_s) | 
|  | Set modem chat script timeout. 
 | 
|  |