Lines Matching refs:packet

166 void ClassicPairingHandler::OnReceive(hci::ChangeConnectionLinkKeyCompleteView packet) {  in OnReceive()  argument
167 ASSERT(packet.IsValid()); in OnReceive()
168 LOG_INFO("Received unsupported event: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
171 void ClassicPairingHandler::OnReceive(hci::CentralLinkKeyCompleteView packet) { in OnReceive() argument
172 ASSERT(packet.IsValid()); in OnReceive()
173 LOG_INFO("Received unsupported event: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
176 void ClassicPairingHandler::OnReceive(hci::PinCodeRequestView packet) { in OnReceive() argument
177 ASSERT(packet.IsValid()); in OnReceive()
178 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
179 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
184 void ClassicPairingHandler::OnReceive(hci::LinkKeyRequestView packet) { in OnReceive() argument
185 ASSERT(packet.IsValid()); in OnReceive()
191 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
192 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
206 void ClassicPairingHandler::OnReceive(hci::LinkKeyNotificationView packet) { in OnReceive() argument
207 ASSERT(packet.IsValid()); in OnReceive()
208 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
209 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
210 GetRecord()->SetLinkKey(packet.GetLinkKey(), packet.GetKeyType()); in OnReceive()
212 link_key_notification_ = std::make_optional<hci::LinkKeyNotificationView>(packet); in OnReceive()
221 void ClassicPairingHandler::OnReceive(hci::IoCapabilityRequestView packet) { in OnReceive() argument
222 ASSERT(packet.IsValid()); in OnReceive()
223 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
224 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
237 void ClassicPairingHandler::OnReceive(hci::IoCapabilityResponseView packet) { in OnReceive() argument
238 ASSERT(packet.IsValid()); in OnReceive()
239 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
240 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
242 remote_io_capability_ = packet.GetIoCapability(); in OnReceive()
243 remote_authentication_requirements_ = packet.GetAuthenticationRequirements(); in OnReceive()
302 void ClassicPairingHandler::OnReceive(hci::SimplePairingCompleteView packet) { in OnReceive() argument
303 ASSERT(packet.IsValid()); in OnReceive()
304 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
305 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
306 last_status_ = packet.GetStatus(); in OnReceive()
314 void ClassicPairingHandler::OnReceive(hci::ReturnLinkKeysView packet) { in OnReceive() argument
315 ASSERT(packet.IsValid()); in OnReceive()
316 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
319 void ClassicPairingHandler::OnReceive(hci::EncryptionChangeView packet) { in OnReceive() argument
320 ASSERT(packet.IsValid()); in OnReceive()
321 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
324 void ClassicPairingHandler::OnReceive(hci::EncryptionKeyRefreshCompleteView packet) { in OnReceive() argument
325 ASSERT(packet.IsValid()); in OnReceive()
326 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
329 void ClassicPairingHandler::OnReceive(hci::RemoteOobDataRequestView packet) { in OnReceive() argument
330 ASSERT(packet.IsValid()); in OnReceive()
331 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
332 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
380 void ClassicPairingHandler::OnReceive(hci::UserPasskeyNotificationView packet) { in OnReceive() argument
381 ASSERT(packet.IsValid()); in OnReceive()
382 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
383 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
384 NotifyUiDisplayPasskey(packet.GetPasskey()); in OnReceive()
387 void ClassicPairingHandler::OnReceive(hci::KeypressNotificationView packet) { in OnReceive() argument
388 ASSERT(packet.IsValid()); in OnReceive()
389 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
390 …LOG_INFO("Notification Type: %s", hci::KeypressNotificationTypeText(packet.GetNotificationType()).… in OnReceive()
391 switch (packet.GetNotificationType()) { in OnReceive()
416 void ClassicPairingHandler::OnReceive(hci::UserConfirmationRequestView packet) { in OnReceive() argument
420 user_confirmation_request_ = std::make_optional<hci::UserConfirmationRequestView>(packet); in OnReceive()
423 ASSERT(packet.IsValid()); in OnReceive()
424 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
425 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
468 NotifyUiDisplayPasskey(packet.GetNumericValue()); in OnReceive()
495 NotifyUiDisplayYesNo(packet.GetNumericValue()); in OnReceive()
502 NotifyUiDisplayYesNo(packet.GetNumericValue()); in OnReceive()
508 NotifyUiDisplayPasskey(packet.GetNumericValue()); in OnReceive()
629 void ClassicPairingHandler::OnReceive(hci::UserPasskeyRequestView packet) { in OnReceive() argument
630 ASSERT(packet.IsValid()); in OnReceive()
631 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()