Exemple #1
0
 def __init__(self, mac):
     BTDevice.__init__(self, mac)
     self.logger = Logger()
     self.socket = None
     self.end_test = False
     self.ended_test = False
     self.end_acquisition = False
     self.ended_acquisition = False
     self.correct_data = False
     self.error = False
     self.min_rr = 550
Exemple #2
0
 def get_nearby_devices(self):
     devices = []
     if self.conf.bluetoothSupport == "Yes":
         self.logger.debug("Searching for Bluetooth devices")
         devices += BTDevice.find()
     if self.conf.antSupport == "Yes":
         self.logger.debug("Searching for ANT+ Devices")
         devices += ANTDevice.find()
     return devices
Exemple #3
0
 def get_nearby_devices(self):
     devices = []
     if self.conf.bluetoothSupport == "Yes":
         self.logger.debug("Searching for Bluetooth devices")
         devices += BTDevice.find()
     if self.conf.antSupport == "Yes":
         self.logger.debug("Searching for ANT+ Devices")
         devices += ANTDevice.find()
     return devices