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

Patchs integration and feature #4

Conversation

Thomasdjb
Copy link

@Thomasdjb Thomasdjb commented Jan 18, 2024

Change

Added integration of patches to ease the merge into Unify codebase.
Added feature to send GET/REPORT when setting a new User Code
Fixed SL_STATUS_NOT_AVAILABLE

Integration commit can be merged with the original commit later.

Checklist

Nenad Kljajic added 3 commits January 18, 2024 17:31
…mmand GetAllPINCodes to DoorLock.xml

This a patch integration into the Unify codebase.
This may be squashed into the original commit.

Origin: SiliconLabs#23
Bug-SiliconLabs: UIC-3201
Signed-off-by: Nenad Kljajic <Nenad.Kljajic@SnapOne.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
Last-Update: 2024-01-18
(cherry picked from commit f9425c8c48fc290c07d6ff9e290d68675cba30c8)
…p-generated files for command GetAllPINCodes

This is a patch integration into the Unify codebase.
This may be squashed into the original commit.

Origin: SiliconLabs#23
Bug-SiliconLabs: UIC-3201
Signed-off-by: Nenad Kljajic <Nenad.Kljajic@SnapOne.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
Last-Update: 2024-01-18
(cherry picked from commit 674e23edc5d29903b052b197047ebee2f898a578)
…s in ZPC

This is a patch integration into the Unify codebase.
This may be squashed into the original commit.

Origin: SiliconLabs#23
Bug-SiliconLabs: UIC-3201
Signed-off-by: Nenad Kljajic <Nenad.Kljajic@SnapOne.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
Last-Update: 2024-01-18
(cherry picked from commit db74b5f2abe795d3ee1f54c8387dec9d4ded81be)
@rzr
Copy link

rzr commented Jan 18, 2024

Please hold merge until it's building in
https://github.com/Thomasdjb/UnifySDK/tree/feature-DoorLock-GetAllPINCodes

https://github.com/Thomasdjb/UnifySDK/actions/runs/7573331730/job/20625225409

But fell free to rebase your branches on main

@Thomasdjb Thomasdjb force-pushed the feature-DoorLock-GetAllPINCodes branch from 88a44d4 to 403e72e Compare January 19, 2024 08:26
Thomasdjb and others added 4 commits January 19, 2024 09:41
Bug-SiliconLabs: UIC-3201
Signed-off-by: Thomas du Boisrouvray <thdubois@silabs.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
Last-Update: 2024-01-19
(cherry picked from commit 954cdcf4b91776e21760921e9c4f0f086328cc6c)
… Code Set.

This allows to get confirmation of the User Code Set through Get Pin Code Response

Bug-SiliconLabs: UIC-3072
Signed-off-by: Thomas du Boisrouvray <thdubois@silabs.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
(cherry picked from commit e7debde26fce76a30db3626a8c553348dfb877de)
Bug-SiliconLabs: UIC-3201
Signed-off-by: Thomas du Boisrouvray <thdubois@silabs.com>
Forwared-SiliconLabs: thdubois/UIC-3072/c4/develop
(cherry picked from commit 5a445787e735313f67e7755a25950d08fe090096)
More to be tested

Bug-SiliconLabs: UIC-3082
Bug-GitHub: rzr#3
Origin: https://github.com/rzr/UnifySDK/tree/GH-14/UIC-3082/phcoval/main
Forwarded: SiliconLabs#26
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
(cherry picked from commit a3fa1c8)
@Thomasdjb Thomasdjb force-pushed the feature-DoorLock-GetAllPINCodes branch from d003bb4 to 89085ff Compare January 19, 2024 08:41
@rzr
Copy link

rzr commented Jan 19, 2024

@rzr
Copy link

rzr commented Jan 22, 2024

Feedback welcome, if no objection we will probably merge this downstream

@Thomasdjb Thomasdjb force-pushed the feature-DoorLock-GetAllPINCodes branch from dc88870 to 8b8a32f Compare January 23, 2024 08:38
Bug-SiliconLabs: UIC-3072
Signed-off-by: Thomas du Boisrouvray <thdubois@silabs.com>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop

(cherry picked from commit 66c6bb11ab1bbeeed1307ff9316efcc70b89a476)
@Thomasdjb Thomasdjb force-pushed the feature-DoorLock-GetAllPINCodes branch 2 times, most recently from 95866a9 to 306e06c Compare January 23, 2024 12:55
@Thomasdjb
Copy link
Author

Hi Nenad,
Regarding your issue with the inclusion of 255 UserIDs device.
Unfortunately, the interview process for command class User Code is specified by the AWG specification (CL:0063.01.21.01.2).
For nodes supporting the v1 of UserCode command class, the controller must ask for the PIN code with an User Code Get for each User Identifier.
Bypassing this process will cause certification to fail.
On my setup interviewing a node with ~150 UserID takes less than 30 seconds. Maybe there is another problem with your setup ?

@rzr
Copy link

rzr commented Jan 23, 2024

Please @nkljajic also check double tests

https://github.com/Thomasdjb/UnifySDK/actions/runs/7626028554/job/20771550442

There is no rush we can integrate changes for the next release, current one's window is supposed to close very soon.

@nkljajic nkljajic merged commit 6985a1d into nkljajic:feature-DoorLock-GetAllPINCodes Jan 23, 2024
1 check failed
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.

3 participants