code: def decode_response(content: bytes) -> set:
      
      content = content[4:].decode(config.ENCODING)
      if '\t' not in content and '\n' not in content:
          return set()
  
      connected_devices = set()
      device_list = [i for i in content.split('\n') if i]
      for each_device in device_list:
          device_id, device_status = each_device.split('\t')
          if device_status == 'device':
              connected_devices.add(device_id)
      return connected_devices
docs: adb response text -> device set