Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CommissioningModeInitialStepsHint to 1 by default for standard flow #562

Merged
merged 5 commits into from
Apr 18, 2024

Conversation

akarabashov
Copy link
Collaborator

No description provided.

@akarabashov akarabashov force-pushed the bugfix/522-comissioning-model-initial-step-hints branch from 398f85e to 400dcab Compare April 15, 2024 09:25
@@ -260,7 +260,8 @@ All non-edited fields remain the same.
- productURL: `optional(string)` - URL that contains product specific web page that contains details for the device model.
- lsfURL: `optional(string)` - URL to the Localized String File of this product.
- schemaVersion: `optional(uint16)` - Schema version to support backward/forward compatability(default 0)
- lsfRevision: `optional(uint32)` - LsfRevision is a monotonically increasing positive integer indicating the latest available version of Localized String File.
- lsfRevision: `optional(uint32)` - LsfRevision is a monotonically increasing positive integer indicating the latest available version of Localized String File.
- commissioningModeInitialStepsHint: `optional(uint32)` - commissioningModeInitialStepsHint SHALL identify a hint for the steps that can be used to put into commissioning mode a device that has not yet been commissioned. This field is a bitmap with values defined in the Pairing Hint Table. For example, a value of 1 (bit 0 is set) indicates that a device that has not yet been commissioned will enter Commissioning Mode upon a power cycle.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that it can not be updated to zero?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


// add new model
msgCreateModel := NewMsgCreateModel(setup.Vendor)
msgCreateModel.CommissioningModeInitialStepsHint = tc.expectedCommissioningModeInitialStepsHint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgCreateModel.CommissioningModeInitialStepsHint = tc.expectedCommissioningModeInitialStepsHint
msgCreateModel.CommissioningModeInitialStepsHint = tc.commissioningModeInitialStepsHint

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@akarabashov akarabashov merged commit 3ae6b98 into master Apr 18, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants