code: def scan_for_devices(timeout: float) -> List[Tuple[str, str]]:
          
          from bluepy.btle import Scanner
  
          scanner = Scanner()
          result = []
          for device in scanner.scan(timeout):
              result.append((device.addr, device.getValueText(9)))
          return result
docs: Scan for bluetooth low energy devices.
  
          Note this must be run as root!