diff --git a/config/esp32/components/chip/Kconfig b/config/esp32/components/chip/Kconfig index 63535664264835..be7a942a113339 100644 --- a/config/esp32/components/chip/Kconfig +++ b/config/esp32/components/chip/Kconfig @@ -47,6 +47,16 @@ menu "CHIP Core" A Binding object is used to configure how the local device communicates with a remote entity, be it a cloud service, a mobile application, or another device. + config MAX_FABRICS + int "Max Fabrics" + range 5 255 + default 5 + help + The maxinum number of fabrics the device can participate in. + + Each fabric can provision the device with its unique operational credentials and + manage its own access control lists. + config MAX_PEER_NODES int "Max Peer Nodes" range 0 65535 diff --git a/src/platform/ESP32/CHIPPlatformConfig.h b/src/platform/ESP32/CHIPPlatformConfig.h index 7a1e507b0c8783..b37b87dfa3daef 100644 --- a/src/platform/ESP32/CHIPPlatformConfig.h +++ b/src/platform/ESP32/CHIPPlatformConfig.h @@ -58,6 +58,7 @@ #define CHIP_CONFIG_MAX_UNSOLICITED_MESSAGE_HANDLERS CONFIG_MAX_UNSOLICITED_MESSAGE_HANDLERS #define CHIP_CONFIG_MAX_EXCHANGE_CONTEXTS CONFIG_MAX_EXCHANGE_CONTEXTS #define CHIP_CONFIG_MAX_SESSION_KEYS CONFIG_MAX_SESSION_KEYS +#define CHIP_CONFIG_MAX_FABRICS CONFIG_MAX_FABRICS #define CHIP_CONFIG_SECURITY_TEST_MODE CONFIG_SECURITY_TEST_MODE #define CHIP_CONFIG_REQUIRE_AUTH !CONFIG_DISABLE_PROVISIONING_AUTH #define CHIP_CONFIG_DEFAULT_INCOMING_CONNECTION_IDLE_TIMEOUT CONFIG_DEFAULT_INCOMING_CONNECTION_IDLE_TIMEOUT