Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/modem/
Dmodem_context.h39 void (*process)(struct modem_cmd_handler *cmd_handler,
69 struct modem_cmd_handler cmd_handler; member
Dgsm_ppp.c180 modem_cmd_handler_process(&gsm->context.cmd_handler, &gsm->context.iface); in gsm_rx()
413 &gsm->context.cmd_handler, in gsm_query_cellinfo()
547 &gsm->context.cmd_handler, in gsm_query_modem_info()
569 &gsm->context.cmd_handler, in gsm_setup_mccmno()
583 &gsm->context.cmd_handler, in gsm_setup_mccmno()
596 &gsm->context.cmd_handler, in gsm_setup_mccmno()
633 ret = modem_cmd_send_ext(&gsm->context.iface, &gsm->context.cmd_handler, &read_rssi_cmd, 1, in query_rssi()
637 ret = modem_cmd_send_ext(&gsm->context.iface, &gsm->context.cmd_handler, &read_rssi_cmd, 1, in query_rssi()
698 &gsm->context.cmd_handler, in gsm_finalize_connection()
713 &gsm->context.cmd_handler, in gsm_finalize_connection()
[all …]
Dublox-sara-r4.c372 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data()
475 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_cert()
945 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1046 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1058 &mctx.cmd_handler, in modem_rssi_query_work()
1091 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1101 &mctx.cmd_handler, in modem_rssi_query_work()
1212 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1225 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1240 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
[all …]
Dsimcom-sim7080.c184 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), buf, in offload_connect()
261 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, NULL, 0U, send_buf, NULL, in offload_sendto()
422 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, data_cmd, ARRAY_SIZE(data_cmd), in offload_recvfrom()
507 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, &mdata.sem_response, in socket_close()
737 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), sendbuf, in offload_getaddrinfo()
811 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1111 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_cmd, in modem_rssi_query_work()
1163 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cgatt_cmd, in modem_pdp_activate()
1192 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in modem_pdp_activate()
1209 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, "AT+CNCFG=0,0", in modem_pdp_activate()
[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()
856 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
870 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
977 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
983 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
992 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
1035 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_setup()
[all …]
Dmodem_cmd_handler.c438 static void cmd_handler_process(struct modem_cmd_handler *cmd_handler, in cmd_handler_process() argument
444 if (!cmd_handler || !cmd_handler->cmd_handler_data || in cmd_handler_process()
449 data = (struct modem_cmd_handler_data *)(cmd_handler->cmd_handler_data); in cmd_handler_process()
Dwncm14a2a.c160 struct cmd_handler { struct
1067 static const struct cmd_handler handlers[] = { in wncm14a2a_rx()
Dhl7800.c531 struct cmd_handler { struct
4500 static const struct cmd_handler handlers[] = { in hl7800_rx()
/Zephyr-Core-3.5.0/tests/bluetooth/hci_prop_evt/src/
Dmain.c34 struct cmd_handler { struct
67 const struct cmd_handler *handlers, in cmd_handle_helper()
71 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper()
88 const struct cmd_handler *handlers, in cmd_handle()
173 static const struct cmd_handler cmds[] = {
/Zephyr-Core-3.5.0/tests/bluetooth/host_long_adv_recv/src/
Dmain.c40 struct cmd_handler { struct
92 const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle_helper()
95 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper()
114 static int cmd_handle(struct net_buf *cmd, const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle()
197 static const struct cmd_handler cmds[] = {
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp.c88 static void cmd_handler(void *p1, void *p2, void *p3) in cmd_handler() function
233 k_thread_create(&cmd_thread, stack, STACKSIZE, cmd_handler, in tester_init()
/Zephyr-Core-3.5.0/drivers/wifi/esp_at/
Desp.c208 modem_cmd_handler_process(&data->mctx.cmd_handler, &data->mctx.iface); in esp_rx()
1122 &dev->mctx.cmd_handler, setup_cmds, in esp_init_work()
1151 &dev->mctx.cmd_handler, in esp_init_work()
1214 ret = modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_reset()
1323 ret = modem_cmd_handler_init(&data->mctx.cmd_handler, &data->cmd_handler_data, in esp_init()
Desp.h424 return modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_cmd_send()
Desp_offload.c235 ret = modem_cmd_send_ext(&dev->mctx.iface, &dev->mctx.cmd_handler, in _sock_send()
/Zephyr-Core-3.5.0/doc/services/shell/
Dindex.rst335 static int cmd_handler(const struct shell *sh, size_t argc,
382 static int cmd_handler(const struct shell *sh, size_t argc,