Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/drivers/modem/
Dmodem_context.h39 void (*process)(struct modem_cmd_handler *cmd_handler,
69 struct modem_cmd_handler cmd_handler; member
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()
949 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1050 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1062 &mctx.cmd_handler, in modem_rssi_query_work()
1095 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1105 &mctx.cmd_handler, in modem_rssi_query_work()
1216 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1229 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1244 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()
815 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1115 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_cmd, in modem_rssi_query_work()
1167 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cgatt_cmd, in modem_pdp_activate()
1196 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in modem_pdp_activate()
1213 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()
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.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
1071 static const struct cmd_handler handlers[] = { in wncm14a2a_rx()
Dhl7800.c535 struct cmd_handler { struct
4594 static const struct cmd_handler handlers[] = { in hl7800_rx()
/Zephyr-latest/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-latest/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-latest/tests/bluetooth/tester/src/
Dbtp.c88 static void cmd_handler(void *p1, void *p2, void *p3) in cmd_handler() function
236 k_thread_create(&cmd_thread, stack, STACKSIZE, cmd_handler, in tester_init()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c218 modem_cmd_handler_process(&data->mctx.cmd_handler, &data->mctx.iface); in esp_rx()
1394 &dev->mctx.cmd_handler, setup_cmds, in esp_init_work()
1423 &dev->mctx.cmd_handler, in esp_init_work()
1486 ret = modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_reset()
1597 ret = modem_cmd_handler_init(&data->mctx.cmd_handler, &data->cmd_handler_data, in esp_init()
Desp.h425 return modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_cmd_send()
Desp_offload.c305 ret = modem_cmd_send_ext(&dev->mctx.iface, &dev->mctx.cmd_handler, in _sock_send()
/Zephyr-latest/doc/services/shell/
Dindex.rst467 static int cmd_handler(const struct shell *sh, size_t argc,
514 static int cmd_handler(const struct shell *sh, size_t argc,