Matter Config

APP Config

Our example applications all have default configurations. If you want to modify the application configuration, you can change CHIPProjectConfig.h under the path matter/connectedhomeip/examples/<app_name>/realtek_bee/main/include, where app_name refers to the name of the application, for example, lighting-app.

The connectedhomeip directory stores the Matter source code. It can be configured through the Prepare Matter in the Development Setup.

Here are the configuration items:

  • CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE: Test Spake2p passcode

  • CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR: Setup discriminator

  • CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID: CHIP-assigned vendor id

  • CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID: Unique id assigned by the device vendor to identify the product or device type

  • CHIP_DEVICE_CONFIG_DEVICE_VENDOR_NAME: Human readable vendor name

  • CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_NAME: Human readable name of the device model

  • CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER: Enables the use of a hard-coded default serial number

  • CHIP_DEVICE_CONFIG_DEFAULT_DEVICE_HARDWARE_VERSION: Default hardware version number assigned to the device or product by the device vendor

  • CHIP_DEVICE_CONFIG_DEFAULT_DEVICE_HARDWARE_VERSION_STRING: Human readable string identifying version of the product assigned by the device vendor

  • CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION: A monotonic number identifying the software version running on the device

  • CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING: A string identifying the software version running on the device

  • CHIP_USE_DEVICE_CONFIG_CERTIFICATION_DECLARATION: Whether to use the Certification Declaration (CD) stored in the firmware, default is not

If your device belongs to MTD (Minimal Thread Device), then you may need to perform the following configuration:

  • CHIP_DEVICE_CONFIG_THREAD_SSED: Enable support for Thread Synchronized Sleepy End Device behavior