From 994c4fd699a0f13f67f0ee3a4e98e0638dc83d36 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 1 Jan 2026 14:01:57 +0100 Subject: [PATCH] Support interface discovery on Weave interface --- RNS/Interfaces/WeaveInterface.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RNS/Interfaces/WeaveInterface.py b/RNS/Interfaces/WeaveInterface.py index b416fbb..badee4a 100644 --- a/RNS/Interfaces/WeaveInterface.py +++ b/RNS/Interfaces/WeaveInterface.py @@ -99,6 +99,12 @@ class WDCL(): if not RNS.vendor.platformutils.is_android(): if port == None: raise ValueError("No port specified") + self.supports_discovery = True + self.discovery_frequency = None + self.discovery_bandwidth = None + self.discovery_channel = None + self.discovery_modulation = None + self.switch_identity = owner.switch_identity self.switch_id = self.switch_identity.sig_pub_bytes[-4:] self.switch_pub_bytes = self.switch_identity.sig_pub_bytes