Esempio n. 1
0
 def enqueue_hci_command(self, command, expect_complete):
     cmd_bytes = bytes(command.Serialize())
     cmd = hci_facade.CommandMsg(command=cmd_bytes)
     if (expect_complete):
         self.cert.hci.EnqueueCommandWithComplete(cmd)
     else:
         self.cert.hci.EnqueueCommandWithStatus(cmd)
Esempio n. 2
0
 def __send_hci_command_with_status(self, command):
     cmd_bytes = bytes(command.Serialize())
     cmd = hci_facade.CommandMsg(command=cmd_bytes)
     self.hci.EnqueueCommandWithStatus(cmd)
Esempio n. 3
0
 def send_command_with_complete(self, command):
     cmd_bytes = bytes(command.Serialize())
     cmd = hci_facade.CommandMsg(command=cmd_bytes)
     self.device.hci.EnqueueCommandWithComplete(cmd)