Home
last modified time | relevance | path

Searched refs:modem_chat (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/subsys/modem/
Dmodem_chat.c8 LOG_MODULE_REGISTER(modem_chat, CONFIG_MODEM_MODULES_LOG_LEVEL);
25 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command()
55 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command()
61 static void modem_chat_script_stop(struct modem_chat *chat, enum modem_chat_script_result result) in modem_chat_script_stop()
99 static void modem_chat_script_send(struct modem_chat *chat) in modem_chat_script_send()
109 static void modem_chat_script_next(struct modem_chat *chat, bool initial) in modem_chat_script_next()
144 static void modem_chat_script_start(struct modem_chat *chat, const struct modem_chat_script *script) in modem_chat_script_start()
166 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, script_run_work); in modem_chat_script_run_handler()
175 struct modem_chat *chat = CONTAINER_OF(dwork, struct modem_chat, script_timeout_work); in modem_chat_script_timeout_handler()
183 struct modem_chat *chat = CONTAINER_OF(item, struct modem_chat, script_abort_work); in modem_chat_script_abort_handler()
[all …]
DCMakeLists.txt8 zephyr_library_sources_ifdef(CONFIG_MODEM_CHAT modem_chat.c)
/Zephyr-Core-3.5.0/include/zephyr/modem/
Dchat.h21 struct modem_chat;
31 typedef void (*modem_chat_match_callback)(struct modem_chat *chat, char **argv, uint16_t argc,
146 typedef void (*modem_chat_script_callback)(struct modem_chat *chat,
193 struct modem_chat { struct
295 int modem_chat_init(struct modem_chat *chat, const struct modem_chat_config *config);
305 int modem_chat_attach(struct modem_chat *chat, struct modem_pipe *pipe);
317 int modem_chat_run_script_async(struct modem_chat *chat, const struct modem_chat_script *script);
329 int modem_chat_run_script(struct modem_chat *chat, const struct modem_chat_script *script);
341 static inline int modem_chat_script_run(struct modem_chat *chat, in modem_chat_script_run()
351 void modem_chat_script_abort(struct modem_chat *chat);
[all …]
/Zephyr-Core-3.5.0/tests/subsys/modem/modem_chat/src/
Dmain.c21 static struct modem_chat cmd;
68 static void on_imei(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_imei()
74 static void on_creg(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_creg()
80 static void on_cgreg(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_cgreg()
86 static void on_qeng_serving_cell(struct modem_chat *cmd, char **argv, uint16_t argc, in on_qeng_serving_cell()
93 static void on_no_carrier(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_no_carrier()
99 static void on_error(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_error()
105 static void on_rdy(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_rdy()
111 static void on_app_rdy(struct modem_chat *cmd, char **argv, uint16_t argc, void *user_data) in on_app_rdy()
117 static void on_normal_power_down(struct modem_chat *cmd, char **argv, uint16_t argc, in on_normal_power_down()
[all …]
/Zephyr-Core-3.5.0/drivers/modem/
Dmodem_cellular.c76 struct modem_chat chat;
252 static void modem_cellular_chat_callback_handler(struct modem_chat *chat, in modem_cellular_chat_callback_handler()
265 static void modem_cellular_chat_on_imei(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_imei()
283 static void modem_cellular_chat_on_cgmm(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmm()
305 static void modem_cellular_chat_on_cxreg(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cxreg()