Skip to content

Commit

Permalink
Add the option to endpoint_config to abort if storage option for attr…
Browse files Browse the repository at this point in the history
…ibute is unknown. (#17124)

This was previous solved in a backwards incompatible way in the zap itself, in process
breaking the previous uses of endpoint_config in ZigbeePro stacks.
With this, the default value is to let unknown options be allowed, but
with adding the allowUnknownStorageOption="false" to the helper, you turn on the strictness.
  • Loading branch information
tecimovic authored and pull[bot] committed Nov 17, 2023
1 parent aa4db73 commit 1270786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/zap-templates/templates/app/endpoint_config.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <lib/core/CHIPConfig.h>

{{#endpoint_config}}
{{#endpoint_config allowUnknownStorageOption="false"}}

// Default values for the attributes longer than a pointer,
// in a form of a binary blob
Expand Down

0 comments on commit 1270786

Please sign in to comment.