mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-27 22:25:37 +00:00
Added discovered_interfaces API method
This commit is contained in:
parent
a2f44668b6
commit
fd954589b5
1 changed files with 9 additions and 0 deletions
|
|
@ -1566,6 +1566,15 @@ class Reticulum:
|
|||
"""
|
||||
return Reticulum.__blackhole_sources
|
||||
|
||||
@staticmethod
|
||||
def discovered_interfaces():
|
||||
"""
|
||||
Returns a list of interfaces discovered over the network.
|
||||
|
||||
:returns: A list of discovered interfaces.
|
||||
"""
|
||||
return RNS.Discovery.InterfaceDiscovery(discover_interfaces=False).list_discovered_interfaces()
|
||||
|
||||
@staticmethod
|
||||
def interface_discovery_sources():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue