Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / config / standalone / CHIPProjectConfig.h
1 /*
2  *
3  *    Copyright (c) 2020-2021 Project CHIP Authors
4  *    Copyright (c) 2016-2017 Nest Labs, Inc.
5  *
6  *    Licensed under the Apache License, Version 2.0 (the "License");
7  *    you may not use this file except in compliance with the License.
8  *    You may obtain a copy of the License at
9  *
10  *        http://www.apache.org/licenses/LICENSE-2.0
11  *
12  *    Unless required by applicable law or agreed to in writing, software
13  *    distributed under the License is distributed on an "AS IS" BASIS,
14  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  *    See the License for the specific language governing permissions and
16  *    limitations under the License.
17  */
18
19 /**
20  *    @file
21  *      CHIP project configuration for standalone builds on Linux and OS X.
22  *
23  */
24 #ifndef CHIPPROJECTCONFIG_H
25 #define CHIPPROJECTCONFIG_H
26
27 #define CHIP_CONFIG_ENABLE_EPHEMERAL_UDP_PORT 1
28
29 #define CHIP_CONFIG_EVENT_LOGGING_UTC_TIMESTAMPS 1
30
31 #define CHIP_CONFIG_EVENT_LOGGING_NUM_EXTERNAL_CALLBACKS 2
32
33 #define CHIP_CONFIG_EVENT_LOGGING_EXTERNAL_EVENT_SUPPORT 1
34
35 // Uncomment this for a large Tunnel MTU.
36 //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU                           (9000)
37
38 // Enable support functions for parsing command-line arguments
39 #define CHIP_CONFIG_ENABLE_ARG_PARSER 1
40
41 // Use a default pairing code if one hasn't been provisioned in flash.
42 #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 12345678
43 #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR 0xF00
44
45 // Enable reading DRBG seed data from /dev/(u)random.
46 // This is needed for test applications and the CHIP device manager to function
47 // properly when CHIP_CONFIG_RNG_IMPLEMENTATION_CHIPDRBG is enabled.
48 #define CHIP_CONFIG_DEV_RANDOM_DRBG_SEED 1
49
50 // For convenience, Chip Security Test Mode can be enabled and the
51 // requirement for authentication in various protocols can be disabled.
52 //
53 //    WARNING: These options make it possible to circumvent basic Chip security functionality,
54 //    including message encryption. Because of this they MUST NEVER BE ENABLED IN PRODUCTION BUILDS.
55 //
56 #define CHIP_CONFIG_SECURITY_TEST_MODE 0
57 #define CHIP_CONFIG_REQUIRE_AUTH 1
58
59 // Increase session idle timeout in stand-alone builds for the convenience of developers.
60 #define CHIP_CONFIG_DEFAULT_SECURITY_SESSION_IDLE_TIMEOUT 120000
61
62 #define CHIP_CONFIG_ENABLE_UPDATE 1
63
64 #define CHIP_CONFIG_LEGACY_CASE_AUTH_DELEGATE 0
65
66 #define CHIP_CONFIG_LEGACY_KEY_EXPORT_DELEGATE 0
67
68 #define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 0
69
70 #define CHIP_CONFIG_ENABLE_FUNCT_ERROR_LOGGING 1
71
72 #define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
73
74 #define CHIP_DEVICE_CONFIG_ENABLE_TEST_DEVICE_IDENTITY 1
75
76 #endif /* CHIPPROJECTCONFIG_H */