zigbee-alliance / distributed-compliance-ledger

DCL is a public permissioned ledger framework for certification of device models. The ledger is based on Cosmos SDK and CometBFT (Tendermint).
Apache License 2.0
89 stars 44 forks source link

The CommissioningModeInitialStepsHint is set to 0 by default #522

Closed jcps07 closed 7 months ago

jcps07 commented 1 year ago

According to the Matter Specification, section 5.7.1:

The Distributed Compliance Ledger entries for Standard Commissioning Flow devices SHALL include the CommissioningCustomFlow field set to '0 - Standard' and the CommissioningModeInitialStepsHint field set to a non-zero integer value, with bit 0 (Power Cycle) being set to 1.

The default value appears to be "0", and most of entries have this value set to 0, even while using "CommissioningCustomFlow" = 0.

Propose to set the default value to "1", instead of "0".

Possible workaround: Set the value for CommissioningModelInitialStepsHitto to "1" by default, in the Web UI.

akarabashov commented 7 months ago

After discussion, it has become clear that the following actions are required to resolve the issue:

ashcherbakov commented 7 months ago

Decisions on DCL TT call:

This will avoid complex migration and mutation of data which we should not do.

akarabashov commented 7 months ago

PR: https://github.com/zigbee-alliance/distributed-compliance-ledger/pull/562