Home
last modified time | relevance | path

Searched refs:cmd_handler (Results 1 – 24 of 24) sorted by relevance

/Zephyr-4.2.1/tests/drivers/modem/modem_cmd_handler/src/
Dmain.c22 static struct modem_cmd_handler cmd_handler; variable
99 modem_cmd_handler_process(&cmd_handler, &mock_modem_iface); in _send_response_delayed_work()
128 int ret = modem_cmd_handler_init(&cmd_handler, in ZTEST()
138 ret = modem_cmd_send(&mock_modem_iface, &cmd_handler, in ZTEST()
146 int ret = modem_cmd_handler_init(&cmd_handler, in ZTEST()
156 ret = modem_cmd_send(&mock_modem_iface, &cmd_handler, in ZTEST()
164 int ret = modem_cmd_handler_init(&cmd_handler, in ZTEST()
174 ret = modem_cmd_send(&mock_modem_iface, &cmd_handler, in ZTEST()
189 int ret = modem_cmd_handler_init(&cmd_handler, in ZTEST()
206 ret = modem_cmd_send(&mock_modem_iface, &cmd_handler, in ZTEST()
[all …]
/Zephyr-4.2.1/drivers/modem/simcom/sim7080/
Dsim7080_ftp.c88 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buffer, in mdm_sim7080_ftp_get_read()
115 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+FTPCID=0", in mdm_sim7080_ftp_get_start()
129 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
143 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
157 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
171 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
185 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
199 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buffer, &mdata.sem_response, in mdm_sim7080_ftp_get_start()
212 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+FTPGET=1", in mdm_sim7080_ftp_get_start()
Dsim7080_pdp.c68 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_cmd, in sim7080_rssi_query_work()
117 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, band_setup_cmds, in sim7080_pdp_activate()
143 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cgatt_cmd, in sim7080_pdp_activate()
154 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cgatt_cmd, in sim7080_pdp_activate()
177 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in sim7080_pdp_activate()
189 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in sim7080_pdp_activate()
204 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, "AT+CNCFG=0,0", in sim7080_pdp_activate()
214 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, "AT+CNACT=0,1", in sim7080_pdp_activate()
248 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, "AT+CNACT=0,0", in sim7080_pdp_deactivate()
Dsim7080_gps.c251 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CGNSINF", in mdm_sim7080_query_gnss()
305 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CGNSXTRA", in mdm_sim7080_query_xtra_validity()
334 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+CGNSPWR=1", in sim7080_start_gnss_ext()
350 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CGNSCPY", in sim7080_start_gnss_ext()
378 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+CGNSXTRA=1", in sim7080_start_gnss_ext()
386 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+CGNSCOLD", in sim7080_start_gnss_ext()
417 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+CGNSPWR=0", in mdm_sim7080_stop_gnss()
449 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, in mdm_sim7080_download_xtra()
Dsim7080.c136 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
150 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, buf, &mdata.sem_response, in mdm_sim7080_set_gpio()
476 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, &mdata.sem_response, in modem_set_baudrate()
503 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT", in modem_autobaud()
573 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "AT+CFUN=1,1", in modem_boot()
612 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, "ATE0", in modem_boot()
655 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, setup_cmds, in modem_setup()
813 ret = modem_cmd_handler_init(&mctx.cmd_handler, &mdata.cmd_handler_data, in modem_init()
Dsim7080_sock.c88 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), buf, in offload_connect()
161 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_buf, in offload_sendto()
193 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, NULL, 0U, send_buf, NULL, in offload_sendto()
353 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, data_cmd, ARRAY_SIZE(data_cmd), in offload_recvfrom()
434 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, &mdata.sem_response, in socket_close()
Dsim7080_meas.c83 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CBC", in mdm_sim7080_get_battery_charge()
273 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CPSI?", in mdm_sim7080_get_ue_sys_info()
327 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CCLK?", in mdm_sim7080_get_local_time()
Dsim7080_sms.c364 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CMGL=4", in mdm_sim7080_read_sms()
383 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, buf, &mdata.sem_response, in mdm_sim7080_delete_sms()
Dsim7080_dns.c125 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), sendbuf, in offload_getaddrinfo()
/Zephyr-4.2.1/samples/subsys/mgmt/osdp/peripheral_device/src/
Dmain.c24 int cmd_handler(void *unused, struct osdp_cmd *p) in cmd_handler() function
47 osdp_pd_set_command_callback(cmd_handler, NULL); in main()
/Zephyr-4.2.1/drivers/modem/
Dmodem_context.h39 void (*process)(struct modem_cmd_handler *cmd_handler,
69 struct modem_cmd_handler cmd_handler; member
Dublox-sara-r4.c371 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data()
469 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_cert()
942 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1043 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1055 &mctx.cmd_handler, in modem_rssi_query_work()
1088 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1098 &mctx.cmd_handler, in modem_rssi_query_work()
1209 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1222 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1237 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
[all …]
Dquectel-bg9x.c205 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in socket_close()
464 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data()
610 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_recvfrom()
744 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_connect()
860 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
874 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
981 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
987 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
996 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
1039 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_setup()
[all …]
Dmodem_cmd_handler.c432 static void cmd_handler_process(struct modem_cmd_handler *cmd_handler, in cmd_handler_process() argument
438 if (!cmd_handler || !cmd_handler->cmd_handler_data || in cmd_handler_process()
443 data = (struct modem_cmd_handler_data *)(cmd_handler->cmd_handler_data); in cmd_handler_process()
Dwncm14a2a.c160 struct cmd_handler { struct
1053 static const struct cmd_handler handlers[] = { in wncm14a2a_rx()
Dhl7800.c542 struct cmd_handler { struct
4653 static const struct cmd_handler handlers[] = { in hl7800_rx()
/Zephyr-4.2.1/tests/bluetooth/hci_prop_evt/src/
Dmain.c40 struct cmd_handler { struct
73 const struct cmd_handler *handlers, in cmd_handle_helper()
77 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper()
95 const struct cmd_handler *handlers, in cmd_handle()
181 static const struct cmd_handler cmds[] = {
/Zephyr-4.2.1/tests/bluetooth/host_long_adv_recv/src/
Dmain.c50 struct cmd_handler { struct
102 const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle_helper()
105 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper()
125 const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle()
210 static const struct cmd_handler cmds[] = {
/Zephyr-4.2.1/tests/bluetooth/tester/src/
Dbtp.c93 static void cmd_handler(void *p1, void *p2, void *p3) in cmd_handler() function
249 k_thread_create(&cmd_thread, stack, STACKSIZE, cmd_handler, in tester_init()
/Zephyr-4.2.1/drivers/wifi/esp_at/
Desp.c218 modem_cmd_handler_process(&data->mctx.cmd_handler, &data->mctx.iface); in esp_rx()
1438 &dev->mctx.cmd_handler, setup_cmds, in esp_init_work()
1467 &dev->mctx.cmd_handler, in esp_init_work()
1530 ret = modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_reset()
1641 ret = modem_cmd_handler_init(&data->mctx.cmd_handler, &data->cmd_handler_data, in esp_init()
Desp.h426 return modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_cmd_send()
Desp_offload.c309 ret = modem_cmd_send_ext(&dev->mctx.iface, &dev->mctx.cmd_handler, in _sock_send()
/Zephyr-4.2.1/subsys/bluetooth/host/classic/
Davdtp.c1832 void (*cmd_handler[])(struct bt_avdtp *session, struct net_buf *buf, uint8_t tid) = { variable
2097 cmd_handler[sigid - 1U] != NULL) { in bt_avdtp_l2cap_recv()
2098 cmd_handler[sigid - 1U](session, buf, AVDTP_TID_GET(single_hdr->hdr)); in bt_avdtp_l2cap_recv()
/Zephyr-4.2.1/doc/services/shell/
Dindex.rst488 static int cmd_handler(const struct shell *sh, size_t argc,
535 static int cmd_handler(const struct shell *sh, size_t argc,