diff --git a/tests/toranj/openthread-core-toranj-config-posix.h b/tests/toranj/openthread-core-toranj-config-posix.h index ecf3ba853..6b2f02876 100644 --- a/tests/toranj/openthread-core-toranj-config-posix.h +++ b/tests/toranj/openthread-core-toranj-config-posix.h @@ -37,36 +37,12 @@ // Include the common configuration for all platforms. #include "openthread-core-toranj-config.h" -/** - * @def OPENTHREAD_CONFIG_PLATFORM_INFO - * - * The platform-specific string to insert into the OpenThread version string. - * - */ #define OPENTHREAD_CONFIG_PLATFORM_INFO "POSIX-toranj" -/** - * @def OPENTHREAD_CONFIG_LOG_OUTPUT - * - * Selects if, and where the LOG output goes to. - * - */ #define OPENTHREAD_CONFIG_LOG_OUTPUT OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED -/** - * @def OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE - * - * Define to 1 to enable Border Router support. - * - */ #define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 1 -/** - * @def OPENTHREAD_POSIX_CONFIG_RCP_PTY_ENABLE - * - * Define as 1 to enable PTY device support in POSIX app. - * - */ #define OPENTHREAD_POSIX_CONFIG_RCP_PTY_ENABLE 1 #define OPENTHREAD_POSIX_CONFIG_RCP_BUS OT_POSIX_RCP_BUS_UART diff --git a/tests/toranj/openthread-core-toranj-config-simulation.h b/tests/toranj/openthread-core-toranj-config-simulation.h index 026811319..e418cd49c 100644 --- a/tests/toranj/openthread-core-toranj-config-simulation.h +++ b/tests/toranj/openthread-core-toranj-config-simulation.h @@ -37,74 +37,26 @@ // Include the common configuration for all platforms. #include "openthread-core-toranj-config.h" -/** - * @def OPENTHREAD_CONFIG_PLATFORM_INFO - * - * The platform-specific string to insert into the OpenThread version string. - * - */ #if OPENTHREAD_RADIO + #define OPENTHREAD_CONFIG_PLATFORM_INFO "SIMULATION-RCP-toranj" #else #define OPENTHREAD_CONFIG_PLATFORM_INFO "SIMULATION-toranj" + #endif -/** - * @def OPENTHREAD_CONFIG_PLATFORM_FLASH_API_ENABLE - * - * Define to 1 to enable otPlatFlash* APIs to support non-volatile storage. - * - * When defined to 1, the platform MUST implement the otPlatFlash* APIs instead of the otPlatSettings* APIs. - * - */ #define OPENTHREAD_CONFIG_PLATFORM_FLASH_API_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_LOG_OUTPUT - * - * Selects if, and where the LOG output goes to. - * - */ #define OPENTHREAD_CONFIG_LOG_OUTPUT OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED -/** - * @def OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE - * - * Define as 1 for CLI to emit its command input string and the resulting output to the logs. - * - */ #define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_LEVEL - * - * Defines the log level to use when CLI emits its command input/output to the logs. - * - */ #define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_LEVEL OT_LOG_LEVEL_INFO -/** - * @def OPENTHREAD_CONFIG_DNS_DSO_ENABLE - * - * Define to 1 to enable DSO support. - * - */ #define OPENTHREAD_CONFIG_DNS_DSO_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE - * - * Enable the external heap. - * - */ #define OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_RADIO_STATS_ENABLE - * - * Disable the radio statistics. - * - */ #define OPENTHREAD_CONFIG_RADIO_STATS_ENABLE 0 #endif /* OPENTHREAD_CORE_TORANJ_CONFIG_SIMULATION_H_ */ diff --git a/tests/toranj/openthread-core-toranj-config.h b/tests/toranj/openthread-core-toranj-config.h index a1b20f079..f008ca244 100644 --- a/tests/toranj/openthread-core-toranj-config.h +++ b/tests/toranj/openthread-core-toranj-config.h @@ -43,620 +43,153 @@ #define OPENTHREAD_RADIO_CLI 0 #endif -/** - * @def OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE - * - * Define to 1 to enable Thread Test Harness reference device support. - * - */ #define OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_UPTIME_ENABLE - * - * Define to 1 to enable tracking the uptime of OpenThread instance. - * - */ #define OPENTHREAD_CONFIG_UPTIME_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE - * - * Define to 1 to enable Border Router support. - * - */ #define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE - * - * Define to 1 to enable Border Routing support. - * - */ #define OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE - * - * Define to 1 to enable NAT64 support in Border Routing Manager. - * - */ #define OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE - * - * Define to 1 to enable ND handling on Thread interface on host. - * - */ #define OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE - * - * Define as 1 to enable IPv6 Border Routing counters. - * - */ #define OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MESH_DIAG_ENABLE - * - * Define as 1 to enable Mesh Diagnostics module. - * - */ #define OPENTHREAD_CONFIG_MESH_DIAG_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_COMMISSIONER_ENABLE - * - * Define to 1 to enable Commissioner support. - * - */ #define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES - * - * The maximum number of Joiner entries maintained by the Commissioner. - * - */ #define OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES 4 -/** - * @def OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE - * - * Define to 1 to enable Border Agent support. - * - */ #define OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_DIAG_ENABLE - * - * Define to 1 to enable Factory Diagnostics support. - * - */ #define OPENTHREAD_CONFIG_DIAG_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_JOINER_ENABLE - * - * Define to 1 to enable Joiner support. - * - */ #define OPENTHREAD_CONFIG_JOINER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE - * - * Define to 1 to support injecting Service entries into the Thread Network Data. - * - */ #define OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE - * - * Define to 1 to enable Network Data Publisher. - * - */ #define OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE - * - * Define to 1 to enable TMF anycast locator functionality. - * - */ #define OPENTHREAD_CONFIG_TMF_ANYCAST_LOCATOR_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_ECDSA_ENABLE - * - * Define to 1 to enable ECDSA support. - * - */ #define OPENTHREAD_CONFIG_ECDSA_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE - * - * Define to 1 to enable the Jam Detection service. - * - */ #define OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS - * - * The number of message buffers in the buffer pool. - * - */ #define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 256 -/** - * @def OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE - * - * Whether use heap allocator for message buffers. - * - */ #define OPENTHREAD_CONFIG_MESSAGE_USE_HEAP_ENABLE 0 -/** - * @def OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_ENTRIES - * - * The number of EID-to-RLOC cache entries. - * - */ #define OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_ENTRIES 16 -/** - * @def OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_TIMEOUT - * - * The timeout value (in seconds) waiting for a address notification response after sending an address query. - * - * Default: 3 seconds - * - */ #define OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_TIMEOUT 6 -/** - * @def OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_INITIAL_RETRY_DELAY - * - * Initial retry delay for address query (in seconds). - * - */ #define OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_INITIAL_RETRY_DELAY 4 -/** - * @def OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_MAX_RETRY_DELAY - * - * Maximum retry delay for address query (in seconds). - * - * Default: 28800 seconds (480 minutes or 8 hours) - * - */ #define OPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_MAX_RETRY_DELAY 120 -/** - * @def OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES - * - * The maximum number of EID-to-RLOC cache entries that can be uses for "snoop optimization" where an entry is created - * by inspecting a received message. - * - */ #define OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES 2 -/** - * @def OPENTHREAD_CONFIG_TMF_SNOOP_CACHE_ENTRY_TIMEOUT - * - * The timeout value (in seconds) blocking eviction of an address cache entry created through snoop optimization (i.e., - * inspection of a received message). After the timeout expires the entry can be reclaimed again. This timeout allows - * a longer response delay for a received message giving more chance that a snooped entry will be used (avoiding - * sending Address Query when a response message is sent to same destination from which the message was received - * earlier). - * - */ #define OPENTHREAD_CONFIG_TMF_SNOOP_CACHE_ENTRY_TIMEOUT 3 -/** - * @def OPENTHREAD_CONFIG_MLE_MAX_CHILDREN - * - * The maximum number of children. - * - */ #define OPENTHREAD_CONFIG_MLE_MAX_CHILDREN 32 -/** - * @def OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT - * - * The default child timeout value (in seconds). - * - */ #define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT 120 -/** - * @def OPENTHREAD_CONFIG_MLE_IP_ADDRS_PER_CHILD - * - * The maximum number of supported IPv6 address registrations per child. - * - */ #define OPENTHREAD_CONFIG_MLE_IP_ADDRS_PER_CHILD 10 -/** - * @def OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS - * - * The maximum number of supported IPv6 addresses allows to be externally added. - * - */ #define OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS 8 -/** - * @def OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS - * - * The maximum number of supported IPv6 multicast addresses allows to be externally added. - * - */ #define OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS 4 -/** - * @def OPENTHREAD_CONFIG_MAC_FILTER_ENABLE - * - * Define to 1 to enable MAC filter support. - * - */ #define OPENTHREAD_CONFIG_MAC_FILTER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MAC_FILTER_SIZE - * - * The number of MAC Filter entries. - * - */ #define OPENTHREAD_CONFIG_MAC_FILTER_SIZE 80 -/** - * @def OPENTHREAD_CONFIG_LOG_LEVEL - * - * The log level (used at compile time). - * - */ #define OPENTHREAD_CONFIG_LOG_LEVEL OT_LOG_LEVEL_INFO -/** - * @def OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE - * - * Define as 1 to enable dynamic log level control. - * - */ #define OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME - * - * Define as 1 to prepend the current uptime to all log messages. - * - */ #define OPENTHREAD_CONFIG_LOG_PREPEND_UPTIME 1 -/** - * @def OPENTHREAD_CONFIG_LOG_PREPEND_LEVEL - * - * Define to prepend the log level to all log messages - * - */ #define OPENTHREAD_CONFIG_LOG_PREPEND_LEVEL 1 -/** - * @def OPENTHREAD_CONFIG_LOG_SUFFIX - * - * Define suffix to append at the end of logs. - * - */ #define OPENTHREAD_CONFIG_LOG_SUFFIX "" -/** - * @def OPENTHREAD_CONFIG_LOG_PLATFORM - * - * Define to enable platform region logging. - * - */ #define OPENTHREAD_CONFIG_LOG_PLATFORM 1 -/** - * @def OPENTHREAD_CONFIG_NCP_HDLC_ENABLE - * - * Define to 1 to enable NCP HDLC support. - * - */ #define OPENTHREAD_CONFIG_NCP_HDLC_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE - * - * The size of NCP message buffer in bytes - * - */ #define OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE 4096 -/** - * @def OPENTHREAD_CONFIG_MLE_STEERING_DATA_SET_OOB_ENABLE - * - * Enable setting steering data out of band. - * - */ #define OPENTHREAD_CONFIG_MLE_STEERING_DATA_SET_OOB_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH - * - * Define as 1 for a child to inform its previous parent when it attaches to a new parent. - * - * If this feature is enabled, when a device attaches to a new parent, it will send an IP message (with empty payload - * and mesh-local IP address as the source address) to its previous parent. - * - */ #define OPENTHREAD_CONFIG_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH 1 -/** - * @def OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE - * - * Define as 1 to enable Channel Manager support. - * - */ #define OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE - * - * Define as 1 to enable Channel Monitor support. - * - */ #define OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_CHANNEL_MANAGER_MINIMUM_DELAY - * - * The minimum delay in seconds used by Channel Manager module for performing a channel change. - * - * The minimum delay should preferably be longer than maximum data poll interval used by all sleepy-end-devices within - * the Thread network. - * - * Applicable only if Channel Manager feature is enabled (i.e., `OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE` is set). - * - */ #define OPENTHREAD_CONFIG_CHANNEL_MANAGER_MINIMUM_DELAY 2 -/** - * @def OPENTHREAD_CONFIG_CHANNEL_MANAGER_THRESHOLD_TO_SKIP_FAVORED - * - * This threshold specifies the minimum occupancy rate difference between two channels for the Channel Manager to - * prefer an unfavored channel over the best favored one. This is used when (auto) selecting a channel based on the - * collected channel quality data by "channel monitor" feature. - * - * The difference is based on the `ChannelMonitor::GetChannelOccupancy()` definition which provides the average - * percentage of RSSI samples (within a time window) indicating that channel was busy (i.e., RSSI value higher than - * a threshold). Value 0 maps to 0% and 0xffff maps to 100%. - * - * Applicable only if Channel Manager feature is enabled (i.e., `OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE` is set). - * - */ #define OPENTHREAD_CONFIG_CHANNEL_MANAGER_THRESHOLD_TO_SKIP_FAVORED (0xffff * 7 / 100) -/** - * @def OPENTHREAD_CONFIG_CHANNEL_MANAGER_THRESHOLD_TO_CHANGE_CHANNEL - * - * This threshold specifies the minimum occupancy rate difference required between the current channel and a newly - * selected channel for Channel Manager to allow channel change to the new channel. - * - * The difference is based on the `ChannelMonitor::GetChannelOccupancy()` definition which provides the average - * percentage of RSSI samples (within a time window) indicating that channel was busy (i.e., RSSI value higher than - * a threshold). Value 0 maps to 0% rate and 0xffff maps to 100%. - * - * Applicable only if Channel Manager feature is enabled (i.e., `OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE` is set). - * - */ #define OPENTHREAD_CONFIG_CHANNEL_MANAGER_THRESHOLD_TO_CHANGE_CHANNEL (0xffff * 10 / 100) -/** - * @def OPENTHREAD_CONFIG_TMF_PENDING_DATASET_MINIMUM_DELAY - * - * Minimum Delay Timer value for a Pending Operational Dataset (in ms). - * - * Thread specification defines this value as 30,000. Changing from the specified value should be done for testing only. - * - * For `toranj` test script the value is decreased so that the tests can be run faster. - * - */ +// For `toranj` test script the value is decreased so that the tests can be run faster. #define OPENTHREAD_CONFIG_TMF_PENDING_DATASET_MINIMUM_DELAY 1000 -/** - * @def OPENTHREAD_CONFIG_NCP_ENABLE_MCU_POWER_STATE_CONTROL - * - * Define to 1 to enable support controlling of desired power state of NCP's micro-controller. - * - * The power state specifies the desired power state of NCP's micro-controller (MCU) when the underlying platform's - * operating system enters idle mode (i.e., all active tasks/events are processed and the MCU can potentially enter a - * energy-saving power state). - * - * The power state primarily determines how the host should interact with the NCP and whether the host needs an - * external trigger (a "poke") before it can communicate with the NCP or not. - * - * When enabled, the platform is expected to provide `otPlatSetMcuPowerState()` and `otPlatGetMcuPowerState()` - * functions (please see `openthread/platform/misc.h`). Host can then control the power state using - * `SPINEL_PROP_MCU_POWER_STATE`. - * - */ #define OPENTHREAD_CONFIG_NCP_ENABLE_MCU_POWER_STATE_CONTROL 1 -/** - * @def OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE - * - * Define as 1 to enable support for adding of auto-configured SLAAC addresses by OpenThread. - * - */ #define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE - * - * Define to 1 to enable DNS Client support. - * - */ #define OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE - * - * Define to 1 to enable SRP Client support. - * - */ #define OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_SRP_SERVER_ENABLE - * - * Define to 1 to enable SRP Server support. - * - */ #define OPENTHREAD_CONFIG_SRP_SERVER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_SRP_CLIENT_DOMAIN_NAME_CHANGE_ENABLE - * - * Define to 1 for the SRP client implementation to provides APIs to allow domain name to be set/changed. - * - */ #define OPENTHREAD_CONFIG_SRP_CLIENT_DOMAIN_NAME_API_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE - * - * Define as 1 to enable History Tracker module. - * - */ #define OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE - * - * Define to 1 to enable DNS-SD Server support. - * - */ #define OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_DELAY_AWARE_QUEUE_MANAGEMENT_ENABLE - * - * Define to 1 to enable delay-aware queue management for the send queue. - * - */ #define OPENTHREAD_CONFIG_DELAY_AWARE_QUEUE_MANAGEMENT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE - * - * Define to 1 to enable Backbone Router support. - * - */ #define OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_CLI_REGISTER_IP6_RECV_CALLBACK - * - * Define as 1 to have CLI register an IPv6 receive callback using `otIp6SetReceiveCallback()`. - * - * This is intended for testing only. Receive callback should be registered for the `otIp6GetBorderRoutingCounters()` - * to count the messages being passed to the callback. - * - */ #define OPENTHREAD_CONFIG_CLI_REGISTER_IP6_RECV_CALLBACK 1 -/** - * @def OPENTHREAD_CONFIG_MLE_PARENT_RESPONSE_CALLBACK_API_ENABLE - * - * Define as 1 to support `otThreadRegisterParentResponseCallback()` API which registers a callback to notify user - * of received Parent Response message(s) during attach. - * - */ #define OPENTHREAD_CONFIG_MLE_PARENT_RESPONSE_CALLBACK_API_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_NET_DIAG_VENDOR_NAME - * - * Specifies the default Vendor Name string. - * - */ #ifndef OPENTHREAD_CONFIG_NET_DIAG_VENDOR_NAME #define OPENTHREAD_CONFIG_NET_DIAG_VENDOR_NAME "OpenThread by Google Nest" #endif -/** - * @def OPENTHREAD_CONFIG_NET_DIAG_VENDOR_MODEL - * - * Specifies the default Vendor Model string. - * - */ #ifndef OPENTHREAD_CONFIG_NET_DIAG_VENDOR_MODEL #define OPENTHREAD_CONFIG_NET_DIAG_VENDOR_MODEL "Toranj Simulation" #endif -/** - * @def OPENTHREAD_CONFIG_NET_DIAG_VENDOR_SW_VERSION - * - * Specifies the default Vendor SW Version string. - * - */ #ifndef OPENTHREAD_CONFIG_NET_DIAG_VENDOR_SW_VERSION #define OPENTHREAD_CONFIG_NET_DIAG_VENDOR_SW_VERSION "OT-simul-toranj" #endif -/** - * @def OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE - * - * Define as 1 to add APIs to allow Vendor Name, Model, SW Version to change at run-time. - */ #define OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE OPENTHREAD_FTD #if OPENTHREAD_RADIO -/** - * @def OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE - * - * Define to 1 if you want to enable software ACK timeout logic. - * - */ + #define OPENTHREAD_CONFIG_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE - * - * Define to 1 if you want to enable software retransmission logic. - * - */ #define OPENTHREAD_CONFIG_MAC_SOFTWARE_RETRANSMIT_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE - * - * Define to 1 if you want to enable software CSMA-CA backoff logic. - * - */ #define OPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE - * - * Define to 1 if you want to enable software transmission security logic. - * - */ #define OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE 1 -/** - * @def OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE - * - * Define to 1 to enable software transmission target time logic. - * - */ #define OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_TIMING_ENABLE 1 -#endif // OPENTHREAD_RADIO + +#endif