Lines Matching refs:hci_event
36 … hci_event = HciMatchers.extract_hci_event_with_code(packet_bytes, EventCode.COMMAND_COMPLETE)
37 if hci_event is None:
39 frame = hci_packets.CommandCompleteView(hci_event)
49 … hci_event = hci_packets.EventPacketView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))
50 if hci_event is None:
52 if event_code is not None and hci_event.GetEventCode() != event_code:
54 return hci_event
105 hci_event = HciMatchers.extract_hci_event_with_code(packet, EventCode.INQUIRY_RESULT)
106 if hci_event is None:
108 inquiry_view = hci_packets.InquiryResultView(hci_event)
120 … hci_event = HciMatchers.extract_hci_event_with_code(packet, EventCode.INQUIRY_RESULT_WITH_RSSI)
121 if hci_event is None:
123 inquiry_view = hci_packets.InquiryResultWithRssiView(hci_event)
135 … hci_event = HciMatchers.extract_hci_event_with_code(packet, EventCode.EXTENDED_INQUIRY_RESULT)
136 if hci_event is None:
138 extended_view = hci_packets.ExtendedInquiryResultView(hci_event)