Skip to content

Commit

Permalink
Add MAX_DEVICE_ADMINS config option for esp32 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Feb 7, 2022
1 parent 0f7be8b commit 0a7940d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/esp32/components/chip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ 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_DEVICE_ADMINS
int "Max device admins"
range 0 16
default 5
help
The maxinum number of simultaneously active CHIP device admins

config MAX_PEER_NODES
int "Max Peer Nodes"
range 0 65535
Expand Down
1 change: 1 addition & 0 deletions src/platform/ESP32/CHIPPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_DEVICE_ADMINS CONFIG_MAX_DEVICE_ADMINS
#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
Expand Down

0 comments on commit 0a7940d

Please sign in to comment.