/Zephyr-latest/subsys/modem/ |
D | modem_chat.c | 32 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command() argument 37 for (uint16_t i = 0; i < chat->argc; i++) { in modem_chat_log_received_command() 38 argv_len = (uint16_t)strlen(chat->argv[i]); in modem_chat_log_received_command() 47 memcpy(&log_buffer[log_buffer_pos], chat->argv[i], argv_len); in modem_chat_log_received_command() 62 static void modem_chat_log_received_command(struct modem_chat *chat) in modem_chat_log_received_command() argument 68 static void modem_chat_script_stop(struct modem_chat *chat, enum modem_chat_script_result result) in modem_chat_script_stop() argument 70 if ((chat == NULL) || (chat->script == NULL)) { in modem_chat_script_stop() 76 LOG_DBG("%s: complete", chat->script->name); in modem_chat_script_stop() 78 LOG_WRN("%s: aborted", chat->script->name); in modem_chat_script_stop() 80 LOG_WRN("%s: timed out", chat->script->name); in modem_chat_script_stop() [all …]
|
D | Kconfig | 11 bool "Modem chat module" 18 int "Modem chat log buffer size in bytes"
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_nmea0183_match.h | 74 void gnss_nmea0183_match_gga_callback(struct modem_chat *chat, char **argv, uint16_t argc, 82 void gnss_nmea0183_match_rmc_callback(struct modem_chat *chat, char **argv, uint16_t argc, 90 void gnss_nmea0183_match_gsv_callback(struct modem_chat *chat, char **argv, uint16_t argc,
|
D | gnss_quectel_lcx6g.c | 57 struct modem_chat chat; member 165 return modem_chat_run_script(&data->chat, &data->pair_script); in quectel_lcx6g_configure_pps() 214 ret = modem_chat_attach(&data->chat, data->uart_pipe); in quectel_lcx6g_resume() 221 ret = modem_chat_run_script(&data->chat, &resume_script); in quectel_lcx6g_resume() 249 ret = modem_chat_run_script(&data->chat, &suspend_script); in quectel_lcx6g_suspend() 342 ret = modem_chat_run_script(&data->chat, &data->pair_script); in quectel_lcx6g_set_fix_rate() 352 static void quectel_lcx6g_get_fix_rate_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_fix_rate_callback() argument 394 ret = modem_chat_run_script(&data->chat, &data->pair_script); in quectel_lcx6g_get_fix_rate() 456 ret = modem_chat_run_script(&data->chat, &data->pair_script); in quectel_lcx6g_set_navigation_mode() 466 static void quectel_lcx6g_get_nav_mode_callback(struct modem_chat *chat, char **argv, in quectel_lcx6g_get_nav_mode_callback() argument [all …]
|
D | gnss_luatos_air530z.c | 62 struct modem_chat chat; member 147 return modem_chat_init(&data->chat, &chat_config); in gnss_luatos_air530z_init_chat() 196 ret = modem_chat_attach(&data->chat, data->uart_pipe); in gnss_luatos_air530z_init() 202 ret = modem_chat_run_script(&data->chat, &init_script); in gnss_luatos_air530z_init() 230 ret = modem_chat_attach(&data->chat, data->uart_pipe); in luatos_air530z_pm_resume() 236 ret = modem_chat_run_script(&data->chat, &init_script); in luatos_air530z_pm_resume() 285 ret = modem_chat_run_script(&data->chat, &data->dynamic_script); in luatos_air530z_set_fix_rate() 322 ret = modem_chat_run_script(&data->chat, &data->dynamic_script); in luatos_air530z_set_enabled_systems()
|
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() argument 66 void gnss_nmea0183_match_rmc_callback(struct modem_chat *chat, char **argv, uint16_t argc, in gnss_nmea0183_match_rmc_callback() argument 83 void gnss_nmea0183_match_gsv_callback(struct modem_chat *chat, char **argv, uint16_t argc, in gnss_nmea0183_match_gsv_callback() argument
|
D | gnss_nmea_generic.c | 48 struct modem_chat chat; member 72 ret = modem_chat_attach(&data->chat, data->uart_pipe); in gnss_nmea_generic_resume() 75 ret = modem_chat_run_script(&data->chat, cfg->init_chat_script); in gnss_nmea_generic_resume() 138 return modem_chat_init(&data->chat, &chat_config); in gnss_nmea_generic_init_chat()
|
D | gnss_u_blox_m8.c | 64 struct modem_chat chat; member 100 ret = modem_chat_attach(&data->chat, data->uart_pipe); in ubx_m8_resume() 167 return modem_chat_init(&data->chat, &chat_config); in ubx_m8_init_chat() 198 modem_chat_release(&data->chat); in ubx_m8_modem_module_change() 202 ret = modem_chat_attach(&data->chat, data->uart_pipe); in ubx_m8_modem_module_change()
|
/Zephyr-latest/include/zephyr/modem/ |
D | chat.h | 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, 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() argument 364 return modem_chat_run_script_async(chat, script); in modem_chat_script_run() 371 void modem_chat_script_abort(struct modem_chat *chat); 377 void modem_chat_release(struct modem_chat *chat);
|
/Zephyr-latest/doc/project/ |
D | communication.rst | 6 The `Zephyr Discord Server <https://chat.zephyrproject.org>`_ is the primary 7 chat forum used by Zephyr developers, contributors, and users.
|
D | project_roles.rst | 59 the `Zephyr Discord Server <https://chat.zephyrproject.org>`_.
|
/Zephyr-latest/drivers/modem/ |
D | modem_cellular.c | 107 struct modem_chat chat; member 337 static void modem_cellular_chat_callback_handler(struct modem_chat *chat, in modem_cellular_chat_callback_handler() argument 350 static void modem_cellular_chat_on_imei(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_imei() argument 362 static void modem_cellular_chat_on_cgmm(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmm() argument 374 static void modem_cellular_chat_on_cgmi(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmi() argument 386 static void modem_cellular_chat_on_cgmr(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cgmr() argument 398 static void modem_cellular_chat_on_csq(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_csq() argument 410 static void modem_cellular_chat_on_cesq(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_cesq() argument 423 static void modem_cellular_chat_on_iccid(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_iccid() argument 435 static void modem_cellular_chat_on_imsi(struct modem_chat *chat, char **argv, uint16_t argc, in modem_cellular_chat_on_imsi() argument [all …]
|
D | modem_at_shell.c | 40 static void at_shell_print_any_match(struct modem_chat *chat, char **argv, uint16_t argc, in at_shell_print_any_match() argument 54 static void at_shell_print_match(struct modem_chat *chat, char **argv, uint16_t argc, in at_shell_print_match() argument 73 static void at_shell_script_callback(struct modem_chat *chat, in at_shell_script_callback() argument
|
D | Kconfig.at_shell | 33 int "Size of modem chat receive buffer in bytes"
|
D | Kconfig.cellular | 53 int "The size of the buffers used for the chat scripts in bytes."
|
/Zephyr-latest/drivers/lora/ |
D | rylrxxx.c | 116 struct modem_chat chat; member 129 static void on_ok(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_ok() argument 137 static void on_err(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_err() argument 154 static void on_rx(struct modem_chat *chat, char **argv, uint16_t argc, void *user_data) in on_rx() argument 185 static void on_script_finished(struct modem_chat *chat, enum modem_chat_script_result result, in on_script_finished() argument 248 err = modem_chat_run_script(&data->chat, &data->dynamic_script); in rylr_send_cmd_buffer() 459 return modem_chat_run_script_async(&data->chat, &data->dynamic_script); in rylr_send_async() 620 err = modem_chat_init(&data->chat, &chat_config); in rylr_init() 626 err = modem_chat_attach(&data->chat, data->uart_pipe); in rylr_init() 654 err = modem_chat_run_script(&data->chat, &ping_script); in rylr_init()
|
/Zephyr-latest/doc/contribute/ |
D | index.rst | 108 .. _Discord: https://chat.zephyrproject.org
|
D | guidelines.rst | 317 .. _Zephyr Discord Server: https://chat.zephyrproject.org
|
/Zephyr-latest/ |
D | README.rst | 92 .. _Discord Server: https://chat.zephyrproject.org
|
/Zephyr-latest/doc/develop/getting_started/ |
D | index.rst | 608 .. _Discord invite: https://chat.zephyrproject.org
|