-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
samples: matter: lock: Support all fields of LockOperation event #21078
base: main
Are you sure you want to change the base?
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 4ca1f2930a6ce3c8932955640831d450888dfcde more detailssdk-nrf:
Github labels
List of changed files detected by CI (7)
Outputs:ToolchainVersion: 4ffa2202d5 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
73fc0e6
to
4868011
Compare
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.
You've changed the door lock API, so I think at least a release or migration guide note should be added.
* @return true on success, false otherwise. | ||
*/ | ||
bool ValidatePIN(const Optional<chip::ByteSpan> &pinCode, OperationErrorEnum &err); | ||
bool ValidatePIN(const Optional<chip::ByteSpan> &pinCode, OperationErrorEnum &err, |
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.
@markaj-nordic just FYI, the doorlock access manager API has been changed.
9d32699
to
d02c1ab
Compare
Format sources before changes. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Remove redundant call to `BoltLockManager::[Lock|Unlock]` from MatterPostAttributeChangeCallback. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Return `ValidatePINResult` containing user id and credential used for validation. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Add support for `UserIndex`, `FabricIndex`, `SourceNode` and `Credentials` fields. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
d02c1ab
to
47b31c8
Compare
Address SonarQube warning regarding code nesting. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Address SonarQube issue regarding too long lambda body. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Addressed SonarQube issues. |
|
BoltLockManager::[Lock|Unlock]
fromMatterPostAttributeChangeCallback.
ValidatePINResult
containing user id and credential used forvalidation.
UserIndex
,FabricIndex
,SourceNode
andCredentials
fields.