TREL
Stay organized with collections
Save and categorize content based on your preferences.
This module includes configuration variables for TREL.
Summary
Macros |
|
---|---|
OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE 0
|
Define as 1 to have the OpenThread core TREL implementation directly manage mDNS (DNS-SD) service registration and peer discovery (browse and service/address resolution of TREL service for TREL peer discovery).
|
OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE (0)
|
Specifies the capacity of TREL peer table.
|
OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE
|
Define as 1 to allow TREL modules to use heap allocated objects (e.g.
|
Macros
OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE
OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE 0
Define as 1 to have the OpenThread core TREL implementation directly manage mDNS (DNS-SD) service registration and peer discovery (browse and service/address resolution of TREL service for TREL peer discovery).
When this feature is disabled, the mDNS (DNS-SD) functions are delegated to the platform layer. More details are provided in the platform/trel.h
API documentation.
OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE
OPENTHREAD_CONFIG_TREL_PEER_TABLE_SIZE (0)
Specifies the capacity of TREL peer table.
Only non-zero value will be directly used for setting the TREL peer table capacity. Zero value lets the size to be determined by the OT stack itself which is derived based on other configurations such as a child table size, neighbor table size, etc.
Applicable when OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE
is not used.
OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE
OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE
Define as 1 to allow TREL modules to use heap allocated objects (e.g.
for the TREL peer table).
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.