/Zephyr-latest/drivers/gnss/ |
D | gnss_nmea0183_match.h | 8 * The GNSS NMEA0183 match is a set of modem_chat match handlers and a context to be 13 * of the data structure which is passed to the modem_chat instance through the 24 * When initializing the modem_chat instance, the three match callbacks must be added 72 * @details Should be used as the callback of a modem_chat match which matches "$??GGA," 74 void gnss_nmea0183_match_gga_callback(struct modem_chat *chat, char **argv, uint16_t argc, 80 * @details Should be used as the callback of a modem_chat match which matches "$??RMC," 82 void gnss_nmea0183_match_rmc_callback(struct modem_chat *chat, char **argv, uint16_t argc, 88 * @details Should be used as the callback of a modem_chat match which matches "$??GSV," 90 void gnss_nmea0183_match_gsv_callback(struct modem_chat *chat, char **argv, uint16_t argc,
|
D | gnss_nmea0183_match.c | 50 void gnss_nmea0183_match_gga_callback(struct modem_chat *chat, char **argv, uint16_t argc, in gnss_nmea0183_match_gga_callback() 66 void gnss_nmea0183_match_rmc_callback(struct modem_chat *chat, char **argv, uint16_t argc, in gnss_nmea0183_match_rmc_callback() 83 void gnss_nmea0183_match_gsv_callback(struct modem_chat *chat, char **argv, uint16_t argc, in gnss_nmea0183_match_gsv_callback()
|
D | Kconfig.generic | 12 select MODEM_CHAT
|
D | Kconfig.luatos_air530z | 12 select MODEM_CHAT
|
D | Kconfig.quectel_lcx6g | 13 select MODEM_CHAT
|
D | Kconfig.u_blox_m8 | 12 select MODEM_CHAT
|
D | gnss_quectel_lcx6g.c | 57 struct modem_chat chat; 352 static void quectel_lcx6g_get_fix_rate_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_fix_rate_callback() 466 static void quectel_lcx6g_get_nav_mode_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_nav_mode_callback() 622 static void quectel_lcx6g_get_search_mode_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_search_mode_callback() 638 static void quectel_lcx6g_get_sbas_status_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_sbas_status_callback()
|
D | gnss_nmea_generic.c | 48 struct modem_chat chat;
|
D | gnss_luatos_air530z.c | 62 struct modem_chat chat;
|
D | gnss_u_blox_m8.c | 64 struct modem_chat chat;
|
/Zephyr-latest/subsys/modem/ |
D | modem_chat.c | 11 LOG_MODULE_REGISTER(modem_chat, CONFIG_MODEM_MODULES_LOG_LEVEL); 32 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command() 62 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command() 68 static void modem_chat_script_stop(struct modem_chat *chat, enum modem_chat_script_result result) in modem_chat_script_stop() 120 static void modem_chat_set_script_send_state(struct modem_chat *chat, in modem_chat_set_script_send_state() 127 static void modem_chat_script_send(struct modem_chat *chat) in modem_chat_script_send() 133 static void modem_chat_script_set_response_matches(struct modem_chat *chat) in modem_chat_script_set_response_matches() 142 static void modem_chat_script_clear_response_matches(struct modem_chat *chat) in modem_chat_script_clear_response_matches() 148 static bool modem_chat_script_chat_has_request(struct modem_chat *chat) in modem_chat_script_chat_has_request() 156 static bool modem_chat_script_chat_has_matches(struct modem_chat *chat) in modem_chat_script_chat_has_matches() [all …]
|
D | Kconfig | 10 config MODEM_CHAT config 15 if MODEM_CHAT
|
D | CMakeLists.txt | 8 zephyr_library_sources_ifdef(CONFIG_MODEM_CHAT modem_chat.c)
|
/Zephyr-latest/tests/subsys/modem/modem_chat/ |
D | testcase.yaml | 5 modem.modem_chat: 6 tags: modem_chat
|
/Zephyr-latest/include/zephyr/modem/ |
D | chat.h | 22 struct modem_chat; 32 typedef void (*modem_chat_match_callback)(struct modem_chat *chat, char **argv, uint16_t argc, 156 typedef void (*modem_chat_script_callback)(struct modem_chat *chat, 210 struct modem_chat { struct 315 int modem_chat_init(struct modem_chat *chat, const struct modem_chat_config *config); 325 int modem_chat_attach(struct modem_chat *chat, struct modem_pipe *pipe); 337 int modem_chat_run_script_async(struct modem_chat *chat, const struct modem_chat_script *script); 349 int modem_chat_run_script(struct modem_chat *chat, const struct modem_chat_script *script); 361 static inline int modem_chat_script_run(struct modem_chat *chat, in modem_chat_script_run() 371 void modem_chat_script_abort(struct modem_chat *chat); [all …]
|
/Zephyr-latest/tests/subsys/modem/modem_chat/src/ |
D | main.c | 21 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-latest/drivers/modem/ |
D | modem_at_shell.c | 27 static struct modem_chat at_shell_chat; 40 static void at_shell_print_any_match(struct modem_chat *chat, char **argv, uint16_t argc, in at_shell_print_any_match() 54 static void at_shell_print_match(struct modem_chat *chat, char **argv, uint16_t argc, in at_shell_print_match() 73 static void at_shell_script_callback(struct modem_chat *chat, in at_shell_script_callback()
|
D | Kconfig.at_shell | 7 select MODEM_CHAT
|
D | Kconfig.cellular | 9 select MODEM_CHAT
|
D | modem_cellular.c | 107 struct modem_chat chat; 337 static void modem_cellular_chat_callback_handler(struct modem_chat *chat, in modem_cellular_chat_callback_handler() 350 static void modem_cellular_chat_on_imei(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_imei() 362 static void modem_cellular_chat_on_cgmm(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmm() 374 static void modem_cellular_chat_on_cgmi(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmi() 386 static void modem_cellular_chat_on_cgmr(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmr() 398 static void modem_cellular_chat_on_csq(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_csq() 410 static void modem_cellular_chat_on_cesq(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cesq() 423 static void modem_cellular_chat_on_iccid(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_iccid() 435 static void modem_cellular_chat_on_imsi(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_imsi() [all …]
|
/Zephyr-latest/drivers/lora/ |
D | Kconfig.rylrxxx | 12 select MODEM_CHAT
|
D | rylrxxx.c | 116 struct modem_chat chat; 129 static void on_ok(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_ok() 137 static void on_err(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_err() 154 static void on_rx(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_rx() 185 static void on_script_finished(struct modem_chat *chat, enum modem_chat_script_result result, in on_script_finished()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 422 using the ``modem_pipe`` module, modem backends, and ``modem_chat`` module to
|