mirror of
https://github.com/espressif/openthread.git
synced 2026-07-04 03:10:23 +00:00
116 lines
4.3 KiB
C
116 lines
4.3 KiB
C
/*
|
|
* Copyright (c) 2018, The OpenThread Authors.
|
|
* All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions are met:
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
* notice, this list of conditions and the following disclaimer.
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
* documentation and/or other materials provided with the distribution.
|
|
* 3. Neither the name of the copyright holder nor the
|
|
* names of its contributors may be used to endorse or promote products
|
|
* derived from this software without specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
/* Define to 1 if you want to enable CoAP to an application. */
|
|
#define OPENTHREAD_ENABLE_APPLICATION_COAP 0
|
|
|
|
/* Define to 1 to enable the border agent feature. */
|
|
#define OPENTHREAD_ENABLE_BORDER_AGENT 1
|
|
|
|
/* Define to 1 if you want to enable Border Router */
|
|
#define OPENTHREAD_ENABLE_BORDER_ROUTER 1
|
|
|
|
/* Define to 1 if you want to enable log for certification test */
|
|
#define OPENTHREAD_ENABLE_CERT_LOG 1
|
|
|
|
/* Define to 1 if you want to enable channel manager feature */
|
|
#define OPENTHREAD_ENABLE_CHANNEL_MANAGER 0
|
|
|
|
/* Define to 1 if you want to use channel monitor feature */
|
|
#define OPENTHREAD_ENABLE_CHANNEL_MONITOR 0
|
|
|
|
/* Define to 1 if you want to use child supervision feature */
|
|
#define OPENTHREAD_ENABLE_CHILD_SUPERVISION 1
|
|
|
|
/* Define to 1 to enable the commissioner role. */
|
|
#define OPENTHREAD_ENABLE_COMMISSIONER 1
|
|
|
|
/* Define to 1 if you want to enable DHCPv6 Client */
|
|
#define OPENTHREAD_ENABLE_DHCP6_CLIENT 1
|
|
|
|
/* Define to 1 if you want to enable DHCPv6 Server */
|
|
#define OPENTHREAD_ENABLE_DHCP6_SERVER 1
|
|
|
|
/* Define to 1 if you want to use diagnostics module */
|
|
#define OPENTHREAD_ENABLE_DIAG 1
|
|
|
|
/* Define to 1 if you want to enable DNS Client */
|
|
#define OPENTHREAD_ENABLE_DNS_CLIENT 1
|
|
|
|
/* Define to 1 to enable dtls support. */
|
|
#define OPENTHREAD_ENABLE_DTLS 1
|
|
|
|
/* Define to 1 if you want to use jam detection feature */
|
|
#define OPENTHREAD_ENABLE_JAM_DETECTION 1
|
|
|
|
/* Define to 1 to enable the joiner role. */
|
|
#define OPENTHREAD_ENABLE_JOINER 1
|
|
|
|
/* Define to 1 if you want to use legacy network support */
|
|
#define OPENTHREAD_ENABLE_LEGACY 1
|
|
|
|
/* Define to 1 if you want to use MAC filter feature */
|
|
#define OPENTHREAD_ENABLE_MAC_FILTER 1
|
|
|
|
/* Define to 1 to enable network diagnostic for MTD. */
|
|
#define OPENTHREAD_ENABLE_MTD_NETWORK_DIAGNOSTIC 0
|
|
|
|
/* Define to 1 if you want to enable support for multiple OpenThread
|
|
instances. */
|
|
#define OPENTHREAD_ENABLE_MULTIPLE_INSTANCES 0
|
|
|
|
/* Define to 1 to enable the NCP SPI interface. */
|
|
#define OPENTHREAD_ENABLE_NCP_SPI 0
|
|
|
|
/* Define to 1 if using NCP Spinel Encrypter */
|
|
#define OPENTHREAD_ENABLE_NCP_SPINEL_ENCRYPTER 0
|
|
|
|
/* Define to 1 to enable the NCP UART interface. */
|
|
#define OPENTHREAD_ENABLE_NCP_UART 1
|
|
|
|
/* Define to 1 if using NCP vendor hook */
|
|
#define OPENTHREAD_ENABLE_NCP_VENDOR_HOOK 0
|
|
|
|
/* Define to 1 to build posix application. */
|
|
#define OPENTHREAD_PLATFORM_POSIX_APP 1
|
|
|
|
/* Define to 1 if you want to enable raw link-layer API */
|
|
#define OPENTHREAD_ENABLE_RAW_LINK_API 0
|
|
|
|
/* Define to 1 if you want to enable Service */
|
|
#define OPENTHREAD_ENABLE_SERVICE 1
|
|
|
|
/* Define to 1 to enable the UDP forward feature. */
|
|
#define OPENTHREAD_ENABLE_UDP_FORWARD 1
|
|
|
|
/* OpenThread examples */
|
|
#define OPENTHREAD_EXAMPLES none
|
|
|
|
/* The settings storage path on android. */
|
|
#define OPENTHREAD_CONFIG_POSIX_SETTINGS_PATH "/data/thread"
|