Searched refs:sec_device (Results 1 – 1 of 1) sorted by relevance
75 def bt_pair_and_connect(self, pri_device, sec_device): argument87 pair_time = self.bt_pair(pri_device, sec_device)88 connect_result, connect_time = self.bt_connect(pri_device, sec_device)91 def bt_pair(self, pri_device, sec_device): argument112 sec_device.turn_on_bluetooth()113 if not sec_device.is_bt_enabled():116 target_addr = sec_device.bluetooth_address117 sec_device.set_pairing_mode()131 def bt_connect(self, pri_device, sec_device): argument143 target_addr = sec_device.bluetooth_address[all …]