Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/classic/
Dhfp_ag.c1442 static struct bt_hfp_ag_at_cmd_handler cmd_handlers[] = { variable
1511 for (uint32_t index = 0; index < ARRAY_SIZE(cmd_handlers); index++) { in hfp_ag_recv()
1512 if (strlen(cmd_handlers[index].cmd) > len) { in hfp_ag_recv()
1515 if (strncmp((char *)data, cmd_handlers[index].cmd, in hfp_ag_recv()
1516 strlen(cmd_handlers[index].cmd)) != 0) { in hfp_ag_recv()
1519 if (NULL != cmd_handlers[index].handler) { in hfp_ag_recv()
1520 (void)net_buf_pull(buf, strlen(cmd_handlers[index].cmd)); in hfp_ag_recv()
1521 err = cmd_handlers[index].handler(ag, buf); in hfp_ag_recv()