SetEnabled()
Enables or disables the TREL interface.
Enable()
Enables the TREL interface. This call initiates an ongoing DNS-SD browse on the service name "_trel._udp" within the local browsing domain to discover other devices supporting TREL. Device also registers a new service to be advertised using DNS-SD, with the service name is "_trel._udp" indicating its support for TREL. Device is ready to receive TREL messages from peers.
Disable()
Disables the TREL interface. This call stops the DNS-SD browse on the service name "_trel._udp", stops advertising TREL DNS-SD service, and clears the TREL peer table.
IsEnabled() const
Indicates whether the TREL interface is enabled.
InitIterator() const
Initializes a peer table iterator.
GetNextPeer() const
Iterates over the peer table entries.
GetNumberOfPeers() const
Returns the number of TREL peers.
SetFilterEnabled()
Sets the filter mode (enables/disables filtering). When filtering is enabled, any rx and tx traffic through TREL interface is silently dropped. This is mainly intended for use during testing. Unlike `Enable()/Disable()` which fully start/stop the TREL interface operation, when filter mode is enabled the TREL interface continues to be enabled.
IsFilterEnabled() const
Indicates whether or not the filter mode is enabled.
GetCounters() const
Gets the TREL counters. The counters are initialized to zero when the TREL platform is initialized.
ResetCounters()
Resets the TREL counters.
GetUdpPort() const
Returns the TREL UDP port.
Init()
HandleExtAddressChange()
HandleExtPanIdChange()
Send()
HandleReceived()
HandleDiscoveredPeerInfo()
RegisterService()
ParsePeerInfoTxtData() const
GetNewPeerEntry()
RemovePeerEntry()