Lines Matching refs:packet_bytes
38 def ExtractMatchingCommandComplete(packet_bytes, opcode=None): argument
39 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode)
42 def _is_matching_command_complete(packet_bytes, opcode=None): argument
43 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode) is not None
46 def _extract_matching_command_complete(packet_bytes, opcode=None): argument
47 event = HciMatchers._extract_matching_event(packet_bytes, EventCode.COMMAND_COMPLETE)
64 def ExtractMatchingCommandStatus(packet_bytes, opcode=None): argument
65 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode)
68 def _is_matching_command_status(packet_bytes, opcode=None): argument
69 return HciMatchers._extract_matching_command_status(packet_bytes, opcode) is not None
72 def _extract_matching_command_status(packet_bytes, opcode=None): argument
73 event = HciMatchers._extract_matching_event(packet_bytes, EventCode.COMMAND_STATUS)
90 def ExtractEventWithCode(packet_bytes, event_code): argument
91 return HciMatchers._extract_matching_event(packet_bytes, event_code)
94 def _is_matching_event(packet_bytes, event_code): argument
95 return HciMatchers._extract_matching_event(packet_bytes, event_code) is not None
98 def _extract_matching_event(packet_bytes, event_code): argument
99 event = hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))
111 def ExtractLeEventWithCode(packet_bytes, subevent_code): argument
112 return HciMatchers._extract_matching_le_event(packet_bytes, subevent_code)
115 def _extract_matching_le_event(packet_bytes, subevent_code): argument
116 …inner_event = HciMatchers._extract_matching_event(packet_bytes, hci_packets.EventCode.LE_META_EVEN…
129 def ExtractLeConnectionComplete(packet_bytes): argument
130 return HciMatchers._extract_le_connection_complete(packet_bytes)
133 def _extract_le_connection_complete(packet_bytes): argument
134 …inner_event = HciMatchers._extract_matching_le_event(packet_bytes, hci_packets.SubeventCode.CONNEC…
138 inner_event = HciMatchers._extract_matching_le_event(packet_bytes,