-
Notifications
You must be signed in to change notification settings - Fork 44
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
Set CommissioningModeInitialStepsHint to 1 by default for standard flow #562
Conversation
398f85e
to
400dcab
Compare
docs/transactions.md
Outdated
@@ -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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
x/model/handler_test.go
Outdated
|
||
// add new model | ||
msgCreateModel := NewMsgCreateModel(setup.Vendor) | ||
msgCreateModel.CommissioningModeInitialStepsHint = tc.expectedCommissioningModeInitialStepsHint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msgCreateModel.CommissioningModeInitialStepsHint = tc.expectedCommissioningModeInitialStepsHint | |
msgCreateModel.CommissioningModeInitialStepsHint = tc.commissioningModeInitialStepsHint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.