3 * Copyright (c) 2020-2021 Project CHIP Authors
4 * Copyright (c) 2016-2017 Nest Labs, Inc.
5 * Copyright (c) 2019-2020 Google LLC.
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 * Project-specific configuration file for Android builds.
28 // Enable use of an ephemeral UDP source port for locally initiated CHIP exchanges.
29 #define CHIP_CONFIG_ENABLE_EPHEMERAL_UDP_PORT 1
31 // Enable UDP listening on demand in the CHIPDeviceController
32 #define CHIP_CONFIG_DEVICE_CONTROLLER_DEMAND_ENABLE_UDP 1
34 #define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
36 // Enable passcode encryption configuration 1
37 #define CHIP_CONFIG_SUPPORT_PASSCODE_CONFIG1_TEST_ONLY 1
39 // Uncomment this for a large Tunnel MTU.
40 //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
42 #define CHIP_CONFIG_LEGACY_CASE_AUTH_DELEGATE 0
44 #define CHIP_CONFIG_LEGACY_KEY_EXPORT_DELEGATE 0
46 #define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 300
48 #define CHIP_CONFIG_ENABLE_FUNCT_ERROR_LOGGING 1
50 #define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
52 #define CHIP_CONFIG_MAX_SOFTWARE_VERSION_LENGTH 128