Support interface discovery on Weave interface

This commit is contained in:
Mark Qvist 2026-01-01 14:01:57 +01:00
parent ef64fefa96
commit 994c4fd699

View file

@ -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