| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- /*
- * Copyright (c) 2022 Texas Instruments Incorporated
- * All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- /**
- * @file
- * Example project configuration file for CHIP.
- *
- * This is a place to put application or project-specific overrides
- * to the default configuration values for general CHIP features.
- *
- */
- #pragma once
- // Use a default pairing code if one hasn't been provisioned in flash.
- #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
- #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR 0xF00
- /**
- * CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER
- *
- * Enables the use of a hard-coded default serial number if none
- * is found in CHIP NV storage.
- */
- #define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER "TEST_SN"
- /**
- * CHIP_DEVICE_CONFIG_DEVICE_HARDWARE_VERSION
- *
- * The hardware version number assigned to device or product by the device vendor. This
- * number is scoped to the device product id, and typically corresponds to a revision of the
- * physical device, a change to its packaging, and/or a change to its marketing presentation.
- * This value is generally *not* incremented for device software versions.
- */
- #ifndef CHIP_DEVICE_CONFIG_DEVICE_HARDWARE_VERSION
- #define CHIP_DEVICE_CONFIG_DEVICE_HARDWARE_VERSION 1
- #endif
- /**
- * Values set by args.gni:
- * CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID
- * CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID
- * CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING
- * CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION
- */
- /**
- * CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
- *
- * Enable support for CHIP-over-BLE (CHIPOBLE).
- */
- #define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 1
- /**
- * CHIP_DEVICE_CONFIG_ENABLE_CHIP_TIME_SERVICE_TIME_SYNC
- *
- * Enables synchronizing the device's real time clock with a remote CHIP Time service
- * using the CHIP Time Sync protocol.
- */
- //#define CHIP_DEVICE_CONFIG_ENABLE_CHIP_TIME_SERVICE_TIME_SYNC 1
- /**
- * CHIP_DEVICE_CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE
- *
- * A size, in bytes, of the individual debug event logging buffer.
- */
- #define CHIP_DEVICE_CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE (512)
- #define MATTER_CC13XX_26XX_PLATFORM_LOG_ENABLED 0
- /**
- * CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT
- *
- * Enable the OpenThread SRP client to allow for CHIP device discovery.
- */
- #define CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT 1
- /**
- * CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE
- *
- * For a development build, set the default importance of events to be logged as Debug.
- * Since debug is the lowest importance level, this means all standard, critical, info and
- * debug importance level vi events get logged.
- */
- #if BUILD_RELEASE
- #define CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE chip::Profiles::DataManagement::Production
- #else
- #define CHIP_CONFIG_EVENT_LOGGING_DEFAULT_IMPORTANCE chip::Profiles::DataManagement::Debug
- #endif // BUILD_RELEASE
- #define CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY 1
- /**
- * @def CHIP_IM_MAX_NUM_COMMAND_HANDLER
- *
- * @brief Defines the maximum number of CommandHandler, limits the number of active commands transactions on server.
- */
- #define CHIP_IM_MAX_NUM_COMMAND_HANDLER 2
- /**
- * @def CHIP_IM_MAX_NUM_WRITE_HANDLER
- *
- * @brief Defines the maximum number of WriteHandler, limits the number of active write transactions on server.
- */
- #define CHIP_IM_MAX_NUM_WRITE_HANDLER 2
|