def enqueue_acl_data(self, handle, pb_flag, b_flag, acl):
     acl_msg = hci_facade.AclMsg(
         handle=int(handle),
         packet_boundary_flag=int(pb_flag),
         broadcast_flag=int(b_flag),
         data=acl)
     self.dut.hci.SendAclData(acl_msg)
Esempio n. 2
0
 def send(self, pb_flag, b_flag, data):
     acl_msg = hci_facade.AclMsg(handle=self.handle,
                                 packet_boundary_flag=int(pb_flag),
                                 broadcast_flag=int(b_flag),
                                 data=data)
     self.device.hci.SendAclData(acl_msg)