Lines Matching refs:charac
2549 uint16_t find_ccc_handle(const gatt::Characteristic& charac) { in find_ccc_handle() argument
2551 charac.descriptors.begin(), charac.descriptors.end(), in find_ccc_handle()
2556 return iter == charac.descriptors.end() ? 0 : (*iter).handle; in find_ccc_handle()
2775 for (const gatt::Characteristic& charac : pac_svc->characteristics) { in OnServiceSearchComplete() local
2776 if (charac.uuid == bluetooth::le_audio::uuid:: in OnServiceSearchComplete()
2779 hdl_pair.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2780 hdl_pair.ccc_hdl = find_ccc_handle(charac); in OnServiceSearchComplete()
2806 charac.value_handle, hdl_pair.ccc_hdl, leAudioDevice->address_); in OnServiceSearchComplete()
2807 } else if (charac.uuid == in OnServiceSearchComplete()
2811 hdl_pair.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2812 hdl_pair.ccc_hdl = find_ccc_handle(charac); in OnServiceSearchComplete()
2838 charac.value_handle, hdl_pair.ccc_hdl, leAudioDevice->address_); in OnServiceSearchComplete()
2839 } else if (charac.uuid == bluetooth::le_audio::uuid:: in OnServiceSearchComplete()
2841 leAudioDevice->snk_audio_locations_hdls_.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2843 find_ccc_handle(charac); in OnServiceSearchComplete()
2867 charac.value_handle, in OnServiceSearchComplete()
2870 } else if (charac.uuid == bluetooth::le_audio::uuid:: in OnServiceSearchComplete()
2872 leAudioDevice->src_audio_locations_hdls_.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2874 find_ccc_handle(charac); in OnServiceSearchComplete()
2898 charac.value_handle, in OnServiceSearchComplete()
2901 } else if (charac.uuid == in OnServiceSearchComplete()
2904 leAudioDevice->audio_avail_hdls_.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2905 leAudioDevice->audio_avail_hdls_.ccc_hdl = find_ccc_handle(charac); in OnServiceSearchComplete()
2930 charac.value_handle, leAudioDevice->audio_avail_hdls_.ccc_hdl, in OnServiceSearchComplete()
2932 } else if (charac.uuid == bluetooth::le_audio::uuid:: in OnServiceSearchComplete()
2934 leAudioDevice->audio_supp_cont_hdls_.val_hdl = charac.value_handle; in OnServiceSearchComplete()
2935 leAudioDevice->audio_supp_cont_hdls_.ccc_hdl = find_ccc_handle(charac); in OnServiceSearchComplete()
2959 charac.value_handle, leAudioDevice->audio_supp_cont_hdls_.ccc_hdl, in OnServiceSearchComplete()
2967 for (const gatt::Characteristic& charac : ase_svc->characteristics) { in OnServiceSearchComplete() local
2968 log::info("Found characteristic, uuid: {}", charac.uuid.ToString()); in OnServiceSearchComplete()
2969 if (charac.uuid == in OnServiceSearchComplete()
2971 charac.uuid == in OnServiceSearchComplete()
2973 uint16_t ccc_handle = find_ccc_handle(charac); in OnServiceSearchComplete()
2979 struct bluetooth::le_audio::types::hdl_pair hdls(charac.value_handle, in OnServiceSearchComplete()
2990 charac.uuid == in OnServiceSearchComplete()
2995 leAudioDevice->ases_.emplace_back(charac.value_handle, ccc_handle, in OnServiceSearchComplete()
3001 charac.value_handle, ccc_handle, direction, in OnServiceSearchComplete()
3003 } else if (charac.uuid == in OnServiceSearchComplete()
3006 leAudioDevice->ctp_hdls_.val_hdl = charac.value_handle; in OnServiceSearchComplete()
3007 leAudioDevice->ctp_hdls_.ccc_hdl = find_ccc_handle(charac); in OnServiceSearchComplete()
3026 charac.value_handle, leAudioDevice->ctp_hdls_.ccc_hdl, in OnServiceSearchComplete()
3032 for (const gatt::Characteristic& charac : tmas_svc->characteristics) { in OnServiceSearchComplete() local
3033 if (charac.uuid == in OnServiceSearchComplete()
3036 leAudioDevice->tmap_role_hdl_ = charac.value_handle; in OnServiceSearchComplete()