Skip to content

Commit

Permalink
[nrfconnect] Set CHIP_CONFIG_MAX_DEVICE_ADMINS to 5 (#10764)
Browse files Browse the repository at this point in the history
Set the platform's default number of fabrics to 5 which is
the minimum allowed by the spec. Also, set the platform's
default number of SRP services to the number of fabrics
plus 1 to make sure that all operational services and
a commissionable node serice can be advertised.
  • Loading branch information
Damian-Nordic authored and pull[bot] committed Nov 9, 2021
1 parent 1dd58c0 commit 2614946
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/nrfconnect/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
#ifdef CONFIG_CHIP_ENABLE_DNSSD_SRP
#define CHIP_DEVICE_CONFIG_ENABLE_DNSSD 1
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT 1
#define CHIP_DEVICE_CONFIG_THREAD_SRP_MAX_SERVICES (CHIP_CONFIG_MAX_DEVICE_ADMINS + 1)
#define CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY 1
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONABLE_DISCOVERY 1
#ifdef CONFIG_CHIP_ENABLE_DNS_CLIENT
Expand Down
4 changes: 4 additions & 0 deletions src/platform/nrfconnect/CHIPPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
#define CHIP_CONFIG_BDX_MAX_NUM_TRANSFERS 1
#endif // CHIP_CONFIG_BDX_MAX_NUM_TRANSFERS

#ifndef CHIP_CONFIG_MAX_DEVICE_ADMINS
#define CHIP_CONFIG_MAX_DEVICE_ADMINS 5
#endif

// ==================== Security Configuration Overrides ====================

#ifndef CHIP_CONFIG_MAX_APPLICATION_GROUPS
Expand Down

0 comments on commit 2614946

Please sign in to comment.