Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/classic/
Dhfp_ag_internal.h77 uint8_t selected_codec_id; member
Dhfp_ag.c1104 if (ag->selected_codec_id == 0) { in bt_hfp_ag_codec_select()
1110 if (!(ag->hf_codec_ids & BIT(ag->selected_codec_id))) { in bt_hfp_ag_codec_select()
1111 LOG_ERR("Codec is unsupported (codec id %d)", ag->selected_codec_id); in bt_hfp_ag_codec_select()
1117 err = hfp_ag_send_data(ag, NULL, NULL, "\r\n+BCS:%d\r\n", ag->selected_codec_id); in bt_hfp_ag_codec_select()
1251 if ((ag->selected_codec_id == 0) || in bt_hfp_ag_bcc_handler()
1252 (!(ag->hf_codec_ids & BIT(ag->selected_codec_id))) || in bt_hfp_ag_bcc_handler()
1297 if (ag->selected_codec_id != number) { in bt_hfp_ag_bcs_handler()
1299 number, ag->selected_codec_id); in bt_hfp_ag_bcs_handler()
1301 } else if (!(ag->hf_codec_ids & BIT(ag->selected_codec_id))) { in bt_hfp_ag_bcs_handler()
1303 ag->selected_codec_id, ag->hf_codec_ids); in bt_hfp_ag_bcs_handler()
[all …]