Beispiel #1
0
 def ReadBdAddrCompleteCapture():
     return Capture(
         HciMatchers.CommandComplete(hci_packets.OpCode.READ_BD_ADDR),
         lambda packet: hci_packets.ReadBdAddrCompleteView(
             HciMatchers.ExtractMatchingCommandComplete(
                 packet.event, hci_packets.OpCode.READ_BD_ADDR)))
Beispiel #2
0
 def ReadLocalOobExtendedDataCompleteCapture():
     return Capture(
         HciMatchers.CommandComplete(hci_packets.OpCode.READ_LOCAL_OOB_EXTENDED_DATA),
         lambda packet: HciMatchers.ExtractMatchingCommandComplete(packet.payload, hci_packets.OpCode.READ_LOCAL_OOB_EXTENDED_DATA)
     )