def setup_test(self): self.device_under_test.rootservice.StartStack( facade_rootservice_pb2.StartStackRequest( module_under_test=facade_rootservice_pb2.BluetoothModule.Value( 'HAL'), )) self.cert_device.rootservice.StartStack( facade_rootservice_pb2.StartStackRequest( module_under_test=facade_rootservice_pb2.BluetoothModule.Value( 'HAL'), )) self.device_under_test.wait_channel_ready() self.cert_device.wait_channel_ready() self.send_dut_hci_command(hci_packets.ResetBuilder()) self.send_cert_hci_command(hci_packets.ResetBuilder())
def setup_test(self): self.device_under_test.rootservice.StartStack( facade_rootservice.StartStackRequest( module_under_test=facade_rootservice.BluetoothModule.Value( 'HCI'), )) self.cert_device.rootservice.StartStack( facade_rootservice.StartStackRequest( module_under_test=facade_rootservice.BluetoothModule.Value( 'HAL'), )) self.device_under_test.wait_channel_ready() self.cert_device.wait_channel_ready() self.cert_device.hal.SendHciCommand( hal_facade.HciCommandPacket( payload=bytes(hci_packets.ResetBuilder().Serialize())))
def setup_test(self): super().setup_test() self.cert.hal.SendHciCommand( hal_facade.HciCommandPacket( payload=bytes(hci_packets.ResetBuilder().Serialize())))
def setup_test(self): super().setup_test() self.send_dut_hci_command(hci_packets.ResetBuilder()) self.send_cert_hci_command(hci_packets.ResetBuilder())
def reset(self): self.send_hci_command(hci_packets.ResetBuilder()) self.wait_for_complete(OpCode.RESET)
def setup_test(self): super().setup_test() self.dut_hci = PyHci(self.dut, acl_streaming=True) self.cert_hal = PyHal(self.cert) self.cert_hal.send_hci_command(hci_packets.ResetBuilder().Serialize())