From a309c1946e30c572cd97c6324858c5f5b07bc70d Mon Sep 17 00:00:00 2001 From: Milan Stute Date: Tue, 9 Jun 2020 20:50:13 +0200 Subject: [PATCH] add more receiver flags --- opendrop/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opendrop/config.py b/opendrop/config.py index b000925..df08d12 100644 --- a/opendrop/config.py +++ b/opendrop/config.py @@ -34,6 +34,7 @@ class AirDropReceiverFlags: Recovered from sharingd`receiverSupportsX methods. A valid node needs to either have SUPPORTS_PIPELINING or SUPPORTS_MIXED_TYPES according to sharingd`[SDBonjourBrowser removeInvalidNodes:]. + Default flags on macOS: 0x3fb according to sharingd`[SDRapportBrowser defaultSFNodeFlags] """ SUPPORTS_URL = 0x01 SUPPORTS_DVZIP = 0x02 @@ -43,6 +44,8 @@ class AirDropReceiverFlags: SUPPORTS_UNKNOWN2 = 0x20 SUPPORTS_IRIS = 0x40 SUPPORTS_DISCOVER_MAYBE = 0x80 # Probably indicates that server supports /Discover URL + SUPPORTS_UNKNOWN3 = 0x100 + SUPPORTS_ASSET_BUNDLE = 0x200 class AirDropConfig: