[tcat] define config defaults (#9768)

This commit is contained in:
Jonathan Hui
2024-01-12 10:55:41 -08:00
committed by GitHub
parent 71aed827d5
commit 6be1901dfa
3 changed files with 23 additions and 2 deletions
+10
View File
@@ -196,4 +196,14 @@
#define OPENTHREAD_CONFIG_CLI_REGISTER_IP6_RECV_CALLBACK 0
#endif
/**
* @def OPENTHREAD_CONFIG_CLI_BLE_SECURE_ENABLE
*
* Define to 1 to enable BLE secure support.
*
*/
#ifndef OPENTHREAD_CONFIG_CLI_BLE_SECURE_ENABLE
#define OPENTHREAD_CONFIG_CLI_BLE_SECURE_ENABLE 0
#endif
#endif // CONFIG_CLI_H_
+3 -2
View File
@@ -46,6 +46,7 @@
*/
#include "config/border_routing.h"
#include "config/misc.h"
/**
* @def OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS
@@ -188,8 +189,8 @@
* Define as 1 to enable support for TLS over TCP.
*
*/
#if (OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE) && !defined(OPENTHREAD_CONFIG_TLS_ENABLE)
#define OPENTHREAD_CONFIG_TLS_ENABLE 1
#ifndef OPENTHREAD_CONFIG_TLS_ENABLE
#define OPENTHREAD_CONFIG_TLS_ENABLE (OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)
#endif
/**
+10
View File
@@ -582,6 +582,16 @@
#define OPENTHREAD_CONFIG_OPERATIONAL_DATASET_AUTO_INIT 0
#endif
/**
* @def OPENTHREAD_CONFIG_BLE_TCAT_ENABLE
*
* Define to 1 to enable TCAT over BLE support.
*
*/
#ifndef OPENTHREAD_CONFIG_BLE_TCAT_ENABLE
#define OPENTHREAD_CONFIG_BLE_TCAT_ENABLE 0
#endif
/**
* @}
*