Platform Specific Services

This module includes configuration variables for platform-specific services.

Summary

Macros

OPENTHREAD_CONFIG_PLATFORM_ASSERT_MANAGEMENT 0
The assert is managed by platform defined logic when this flag is set.
OPENTHREAD_CONFIG_PLATFORM_DNSSD_ALLOW_RUN_TIME_SELECTION 0
Define as 1 to enable run-time selection of DNSSD module, i.e., whether the native OpenThread mDNS module is used or the platform otPlatDnssd APIs are used (DNSSD support is delegated to the platform layer).
OPENTHREAD_CONFIG_PLATFORM_DNSSD_ENABLE 0
Define as 1 to enable DNSSD (mDNS) platform module.
OPENTHREAD_CONFIG_PLATFORM_INFO "NONE"
The platform-specific string to insert into the OpenThread version string.
OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE 0
Define to 1 if you want to enable key ref usage support as defined by platform.
OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE 0
Define to 1 if you want to make MAC keys exportable.
OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT 0
The message pool is managed by platform defined logic when this flag is set.
OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE 0
Define to 1 to enable platform NETIF support.
OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE 0
Define as 1 to enable platform power calibration support.
OPENTHREAD_CONFIG_PLATFORM_RADIO_COEX_ENABLE 0
Define to 1 if you want to enable radio coexistence implemented in platform.
OPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_SUPPORT 0
Define to 1 if you want to enable proprietary radio support as defined by platform.
OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE 0
Define to 1 to enable platform UDP support.
OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE 0
Define to 1 if you want to enable microsecond backoff timer implemented in platform.
OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET 0x20000
Default NVM offset while using key refs.

Macros

OPENTHREAD_CONFIG_PLATFORM_ASSERT_MANAGEMENT

 OPENTHREAD_CONFIG_PLATFORM_ASSERT_MANAGEMENT 0

The assert is managed by platform defined logic when this flag is set.

OPENTHREAD_CONFIG_PLATFORM_DNSSD_ALLOW_RUN_TIME_SELECTION

 OPENTHREAD_CONFIG_PLATFORM_DNSSD_ALLOW_RUN_TIME_SELECTION 0

Define as 1 to enable run-time selection of DNSSD module, i.e., whether the native OpenThread mDNS module is used or the platform otPlatDnssd APIs are used (DNSSD support is delegated to the platform layer).

This config is mainly intended for testing, allowing test-specific otPlatDnssd APIs to be used instead of the native mDNS module in unit tests.

OPENTHREAD_CONFIG_PLATFORM_DNSSD_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_DNSSD_ENABLE 0

Define as 1 to enable DNSSD (mDNS) platform module.

OPENTHREAD_CONFIG_PLATFORM_INFO

 OPENTHREAD_CONFIG_PLATFORM_INFO "NONE"

The platform-specific string to insert into the OpenThread version string.

OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE 0

Define to 1 if you want to enable key ref usage support as defined by platform.

OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_MAC_KEYS_EXPORTABLE_ENABLE 0

Define to 1 if you want to make MAC keys exportable.

OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT

 OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT 0

The message pool is managed by platform defined logic when this flag is set.

This feature would typically be used when operating in a multi-threaded system and multiple threads need to access the message pool.

OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE 0

Define to 1 to enable platform NETIF support.

OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_POWER_CALIBRATION_ENABLE 0

Define as 1 to enable platform power calibration support.

OPENTHREAD_CONFIG_PLATFORM_RADIO_COEX_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_RADIO_COEX_ENABLE 0

Define to 1 if you want to enable radio coexistence implemented in platform.

OPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_SUPPORT

 OPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_SUPPORT 0

Define to 1 if you want to enable proprietary radio support as defined by platform.

OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE 0

Define to 1 to enable platform UDP support.

OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE

 OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE 0

Define to 1 if you want to enable microsecond backoff timer implemented in platform.

OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET

 OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET 0x20000

Default NVM offset while using key refs.

Platforms can override this definition based on implementation

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.