TREL - Thread Stack#
This module defines Thread Radio Encapsulation Link (TREL) APIs for Thread Over Infrastructure.
The functions in this module require OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE
to be enabled.
Modules#
Typedefs#
typedef struct otTrelPeer
Represents a TREL peer.
typedef uint16_t
Represents an iterator for iterating over TREL peer table entries.
Functions#
void
otTrelSetEnabled(otInstance *aInstance, bool aEnable)
Enables or disables TREL operation.
bool
otTrelIsEnabled(otInstance *aInstance)
Indicates whether the TREL operation is enabled.
void
otTrelInitPeerIterator(otInstance *aInstance, otTrelPeerIterator *aIterator)
Initializes a peer table iterator.
const otTrelPeer *
otTrelGetNextPeer(otInstance *aInstance, otTrelPeerIterator *aIterator)
Iterates over the peer table entries and get the next entry from the table.