• Home
  • Raw
  • Download

Lines Matching refs:packet

134 void ClassicPairingHandler::OnReceive(hci::ChangeConnectionLinkKeyCompleteView packet) {  in OnReceive()  argument
135 ASSERT(packet.IsValid()); in OnReceive()
136 LOG_INFO("Received unsupported event: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
139 void ClassicPairingHandler::OnReceive(hci::MasterLinkKeyCompleteView packet) { in OnReceive() argument
140 ASSERT(packet.IsValid()); in OnReceive()
141 LOG_INFO("Received unsupported event: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
144 void ClassicPairingHandler::OnReceive(hci::PinCodeRequestView packet) { in OnReceive() argument
145 ASSERT(packet.IsValid()); in OnReceive()
146 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
147 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
150 void ClassicPairingHandler::OnReceive(hci::LinkKeyRequestView packet) { in OnReceive() argument
151 ASSERT(packet.IsValid()); in OnReceive()
153 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
154 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
156 …auto packet = hci::LinkKeyRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetAddress(), in OnReceive() local
158 this->GetChannel()->SendCommand(std::move(packet)); in OnReceive()
160 …auto packet = hci::LinkKeyRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetA… in OnReceive() local
161 this->GetChannel()->SendCommand(std::move(packet)); in OnReceive()
165 void ClassicPairingHandler::OnReceive(hci::LinkKeyNotificationView packet) { in OnReceive() argument
166 ASSERT(packet.IsValid()); in OnReceive()
167 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
168 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
169 GetRecord()->SetLinkKey(packet.GetLinkKey(), packet.GetKeyType()); in OnReceive()
173 void ClassicPairingHandler::OnReceive(hci::IoCapabilityRequestView packet) { in OnReceive() argument
174 ASSERT(packet.IsValid()); in OnReceive()
175 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
176 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
185 void ClassicPairingHandler::OnReceive(hci::IoCapabilityResponseView packet) { in OnReceive() argument
186 ASSERT(packet.IsValid()); in OnReceive()
187 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
188 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
191 remote_io_capability_ = packet.GetIoCapability(); in OnReceive()
194 void ClassicPairingHandler::OnReceive(hci::SimplePairingCompleteView packet) { in OnReceive() argument
195 ASSERT(packet.IsValid()); in OnReceive()
196 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
197 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
198 last_status_ = packet.GetStatus(); in OnReceive()
205 void ClassicPairingHandler::OnReceive(hci::ReturnLinkKeysView packet) { in OnReceive() argument
206 ASSERT(packet.IsValid()); in OnReceive()
207 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
210 void ClassicPairingHandler::OnReceive(hci::EncryptionChangeView packet) { in OnReceive() argument
211 ASSERT(packet.IsValid()); in OnReceive()
212 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
215 void ClassicPairingHandler::OnReceive(hci::EncryptionKeyRefreshCompleteView packet) { in OnReceive() argument
216 ASSERT(packet.IsValid()); in OnReceive()
217 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
220 void ClassicPairingHandler::OnReceive(hci::RemoteOobDataRequestView packet) { in OnReceive() argument
221 ASSERT(packet.IsValid()); in OnReceive()
222 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
223 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
226 void ClassicPairingHandler::OnReceive(hci::UserPasskeyNotificationView packet) { in OnReceive() argument
227 ASSERT(packet.IsValid()); in OnReceive()
228 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
229 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
232 void ClassicPairingHandler::OnReceive(hci::KeypressNotificationView packet) { in OnReceive() argument
233 ASSERT(packet.IsValid()); in OnReceive()
234 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
235 …LOG_INFO("Notification Type: %s", hci::KeypressNotificationTypeText(packet.GetNotificationType()).… in OnReceive()
236 switch (packet.GetNotificationType()) { in OnReceive()
260 void ClassicPairingHandler::OnReceive(hci::UserConfirmationRequestView packet) { in OnReceive() argument
261 ASSERT(packet.IsValid()); in OnReceive()
262 LOG_INFO("Received: %s", hci::EventCodeText(packet.GetEventCode()).c_str()); in OnReceive()
263 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
287 NotifyUiDisplayPasskey(packet.GetNumericValue()); in OnReceive()
305 NotifyUiDisplayYesNo(packet.GetNumericValue()); in OnReceive()
311 NotifyUiDisplayYesNo(packet.GetNumericValue()); in OnReceive()
316 NotifyUiDisplayPasskey(packet.GetNumericValue()); in OnReceive()
392 void ClassicPairingHandler::OnReceive(hci::UserPasskeyRequestView packet) { in OnReceive() argument
393 ASSERT(packet.IsValid()); in OnReceive()
394 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()