Lines Matching refs:hci
31 using bluetooth::hci::IsoBuilder;
33 IsoManagerImpl::IsoManagerImpl(os::Handler* iso_handler, hci::HciLayer* hci_layer, hci::Controller*… in IsoManagerImpl()
48 void IsoManagerImpl::OnHciLeEvent(hci::LeMetaEventView event) { in OnHciLeEvent()
49 hci::SubeventCode code = event.GetSubeventCode(); in OnHciLeEvent()
51 if (code == hci::SubeventCode::CIS_ESTABLISHED) { in OnHciLeEvent()
52 hci::LeCisEstablishedView le_cis_established_view = hci::LeCisEstablishedView::Create(event); in OnHciLeEvent()
60 } else if (code == hci::SubeventCode::CIS_REQUEST) { in OnHciLeEvent()
61 hci::LeCisRequestView le_cis_request_view = hci::LeCisRequestView::Create(event); in OnHciLeEvent()
68 hci::LeAcceptCisRequestBuilder::Create(le_cis_request_view.GetCisConnectionHandle()), in OnHciLeEvent()
69 iso_handler_->BindOnce([](hci::CommandStatusView command_status) { in OnHciLeEvent()
76 LOG_ERROR("Unhandled HCI LE ISO event, code %s", hci::SubeventCodeText(code).c_str()); in OnHciLeEvent()
84 hci::ClockAccuracy peripherals_clock_accuracy, in SetCigParameters()
85 hci::Packing packing, in SetCigParameters()
86 hci::Enable framing, in SetCigParameters()
89 const std::vector<hci::CisParametersConfig>& cis_configs, in SetCigParameters()
92 hci::LeSetCigParametersBuilder::Create( in SetCigParameters()
112 const std::vector<hci::CisParametersConfig>& cis_configs, in SetCigParametersComplete()
114 hci::CommandCompleteView command_complete) { in SetCigParametersComplete()
117 hci::LeSetCigParametersCompleteView setCigParamsComplete = in SetCigParametersComplete()
118 hci::LeSetCigParametersCompleteView::Create(command_complete); in SetCigParametersComplete()
121 if (setCigParamsComplete.GetStatus() == hci::ErrorCode::SUCCESS) { in SetCigParametersComplete()
156 hci::ClockAccuracy peripherals_clock_accuracy, in SetCigParametersTest()
157 hci::Packing packing, in SetCigParametersTest()
158 hci::Enable framing, in SetCigParametersTest()
161 const std::vector<hci::LeCisParametersTestConfig>& cis_test_configs, in SetCigParametersTest()
164 hci::LeSetCigParametersTestBuilder::Create( in SetCigParametersTest()
185 const std::vector<hci::LeCisParametersTestConfig>& cis_configs, in SetCigParametersTestComplete()
187 hci::CommandCompleteView command_complete) { in SetCigParametersTestComplete()
190 hci::LeSetCigParametersTestCompleteView setCigParamsComplete = in SetCigParametersTestComplete()
191 hci::LeSetCigParametersTestCompleteView::Create(command_complete); in SetCigParametersTestComplete()
194 if (setCigParamsComplete.GetStatus() == hci::ErrorCode::SUCCESS) { in SetCigParametersTestComplete()
223 std::vector<hci::CreateCisConfig> cis_configs; in LeCreateCis()
226 hci::CreateCisConfig config; in LeCreateCis()
233 …hci::LeCreateCisBuilder::Create(cis_configs), iso_handler_->BindOnce([](hci::CommandStatusView com… in LeCreateCis()
242 hci::LeRemoveCigBuilder::Create(cig_id), in RemoveCig()
246 void IsoManagerImpl::RemoveCigComplete(hci::CommandCompleteView command_complete) { in RemoveCigComplete()
249 …hci::LeRemoveCigCompleteView removeCigComplete = hci::LeRemoveCigCompleteView::Create(command_comp… in RemoveCigComplete()
254 auto builder = hci::IsoWithoutTimestampBuilder::Create( in SendIsoPacket()
256 hci::IsoPacketBoundaryFlag::COMPLETE_SDU, in SendIsoPacket()
258 hci::IsoPacketStatusFlag::VALID, in SendIsoPacket()
265 std::unique_ptr<hci::IsoView> packet = hci_layer_->GetIsoQueueEnd()->TryDequeue(); in OnIncomingPacket()