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

importing uic z-wave/main #11

Merged
merged 105 commits into from
Feb 5, 2025
Merged

importing uic z-wave/main #11

merged 105 commits into from
Feb 5, 2025

Conversation

rzr
Copy link
Collaborator

@rzr rzr commented Jan 31, 2025

Change

This patch set is mostly what has been done on zpc since UnifySDK-1.6

refer to NEWS.md file for shared some hints and should be nicely reworded :)

Checklist

@rzr rzr marked this pull request as draft January 31, 2025 11:29
rzr pushed a commit that referenced this pull request Feb 4, 2025
Portable controller support was dropped in zw-protocol, there's no
reason to keep code in UIC for this feature.

(cherry picked from commit 20d6204f06639f4cadc376779dc4f38d7ab75c54)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…e existings

Merge in UIC/uic from blabbe/feat/UIC-3309-zpc-create-helpers to develop

(cherry picked from commit b0fbd5c8d9335aa47266f8ff8ca31560d92b5159)
Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
Merge in UIC/uic from blabbe/cherry-pick-pr to develop

[Philippe Coval]

Sorry for the commit message, hopefully project will move to github

Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…ss_binary_switch_handle_report

Merge in UIC/uic from bugfix/UIC-3490-fix-bug-binary-switch-command-class to develop
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…d6e3

Partial revert of 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 which
introduced Nix support.

- 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 reverted bindgen to
0.61.0 which on new versions of rust breaks ZPC builds. reverting
to 0.62.0 fixes this issue.

- 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 introduced modifications to
build.rs files and now print a message about not finding libunify.so
which is useless.

- 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 made changes to
uic_attribute_store_lib.rs forcing a rename of uic_attribute_store.rs
into binding.rs, the commit does not explain why. reverting this change
changes nothing.

- 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 introduced support to nix and
this feature is not used and nobody is actively supporting it.

- 4e0f7861e9f3eada27a36d06c057970bbb12d6e3 introduced a change to
components/uic_rust/unify_build_utils/src/bindgen.rs which breaks unify
builds on newer rust versions. reverting to simply passing the `-v`
argument to clang fixes this issue.

Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions

Origin: uic#ver_1.7.0-unstable-28-gaf67f9518e
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
Origin: uic#ver_1.7.0-unstable-29-g72958cf8ce
(cherry picked from commit 72958cf8ce22f6db6d06b0e4b698ee24175eb95d)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…t have python

use python3 explicitly because UnifySDK CI doesn't have python in its path
on Debian installing the `python-is-python3` package would solve that issue

(cherry picked from commit cfc1625e6ed8fdc10076a068779ab9da1a39c832)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…pport Alarm CC v1 and v2

(cherry picked from commit 82c13e1e65a7337aa6b0ef59291712c7154b33c7)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…covery

(cherry picked from commit 08ce3bfbe08f77f257fc5952ac64b1fd42e9c2fe)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…dd_node to prevent supervision flag to be duplicated

Merge in UIC/uic from blabbe/fix/UIC-3181-supervision to develop

(cherry picked from commit c8188a3ad11cd7ced3849e674fd2853994a2ab5e)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 320f92bf980778fcdb5f9dc4f97fba2b24233469)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 5e118b9e5e15a1d985f72e1c5048b79e002557a1)
Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
… test

update testFramework and fix missing semicolon in test which was
highlighted by this update.

(cherry picked from commit 96b64ae62face18f956b1fdc9fcc82bda2f67c8a)
Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 18a767c8f0da7be294bb7d41372d4c744c9c73fd)
Last-Update: 2025-01-30
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…ray into RAM.

Remove array which is place in ROM and use ram to intilize AES seed.
The purpose is to optimize memory footprint.

Bug-SiliconLabs: SWPROT-8487
Bud ZwaveAlliance: Z-Wave-Alliance/z-wave-stack#343
Forwarded: Z-Wave-Alliance/z-wave-stack#344
Forwarded: #11
(cherry picked from commit b355bf169d5b605cb09a83ae99136b3c172d9806)
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…hy it's used

(cherry picked from commit 2a222bf3bddff5f971ccb4019787c92f0379c0dd)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 613da5e35204437ed88f81d56d6073398179820e)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
… anywhere

also removed DEBUG_S2_FSM as it's not used as well

(cherry picked from commit 6716052bce8a19517a7a44447c034c66a664051c)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 756039d5cbf6f9ae3ab034c61facf98a4be19bc2)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit fc7dca0e198dd6709a55202e4af14c684bfb2918)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
Use add_compile_definitions instead of add_definitions
 Remove all leading -D in variables (already filtered during CMake processing)

(cherry picked from commit 347f8e2b348d358c7da7a556d87988c8e819a716)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
(cherry picked from commit 47cbccc804dfb990d2e7770f28400974c2a611c7)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…ndler

(cherry picked from commit d577a3a374305c3526ab9c139def4ee4740de278)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 4, 2025
…ndler

(cherry picked from commit f84cbdd3ca56d15156cf367558fd359000c44c01)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 2157e3364d6610db9330b6854c247f6ac48c7271)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit bcaadb54b43e88606385569d758e0cc1aded035b)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 0f6b9efab87f41ba967c0a7c78567f966d2ba950)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 3b7dcd7e9f7f6c019b97dc22a149e8d46ad9f71e)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
Merge in UIC/uic from feature/UIC-3590-zpc-bulk-changes-for-s2v2 to develop

(cherry picked from commit 7cbdd551af3ab85e87662a67b3864c464532b961)
Last-Update: 2025-01-31
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 525f7cdcc3fb806609bb12a930be57219e1a39d4)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…to parse

(cherry picked from commit 839f66f80c11c41663f601361a57f99fc12b0df9)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
This allows us to have same attribute bound to different resolver function

(cherry picked from commit 96aca76524a0f8704d2c2d73b6743470479e22be)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
This allow to set the version for a test with multiple endpoints

(cherry picked from commit 2ad83209f99ce6b2ac39531899e2aaf0a7b79ee5)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit e1d1535b8d636d269e8aae56bacb7b580aa16249)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
This will allow other component than command class to still have access to the attribute test helper functions.

We made a wrapper for zpc_attribute_store_test_helper to be able to use it in our new test implementation without the need to relink the previous ones.

(cherry picked from commit 963e10e49e78e249ee799f76694d4f2c9a937a45)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…n dependency from zwave_api module

(cherry picked from commit 85a4731ae480e40b79ec0dda8123d815e0cf4e77)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…ave_api module

(cherry picked from commit dc4aac75a507871e24f1dfd71dd7f1cdb6794167)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…ule for protocol frame

Merge in UIC/uic from feature/UIC-3595-add-zwave_tx-unit-test to develop

(cherry picked from commit 5eea13e0e5c7ab41e72493fd06844d0653221c05)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
Merge in UIC/uic from test/UIC-3596-zwapi-unit-test to develop

(cherry picked from commit 9618e09374014c9653f732bfd8d1647305bbf08d)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
Merge in UIC/uic from test/UIC-3603-zwave-module-unit-test to develop

(cherry picked from commit c2296d353cc5498237924a37cb76880d55de3292)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 56ccc7a52b2354ee2b2389d59880b58a41d54176)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…ports module

Merge in UIC/uic from test/UIC-3600-zwave_api_transport-unit-test to develop

(cherry picked from commit 58ce627a32f50a0bd78c9853d8d6f317fde07c0a)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…nd_handler module

Merge in UIC/uic from test/UIC-3601-zwave_command_handler-unit-test to develop

(cherry picked from commit fe8823d7337c244b4ab8903402b6668f30b8d608)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit ac0651934a24efe72d542c86e1b5b752ae266951)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…odule

Merge in UIC/uic from test/UIC-3604-zpc_stdin-module-unit-test to develop

(cherry picked from commit f48863b5d7fa7ded31fb2954a9307aab5a355a49)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
[Philippe Coval]

Took over change and fixed typos

Origin: projects/UIC/repos/uic/pull-requests/2851/overview
Thanks-to: Aydogan Ersoz <Aydogan.Ersoz@silabs.com>
cherry picked from commit 86dd2bba208fc85f256b451a8b7cb9d9b4acea98)
Last-update: 2025-01-10
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit 749a985e7171563328783fe284b0a12ecedb3c49)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
(cherry picked from commit d14526c3dcd81d6feec8b52f09eee3dbb5d05910)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
Initialize value to avoid warning in tests in ZPC

(cherry picked from commit 426be59937680cac7de483d08ea012609cc4d686)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
rzr pushed a commit that referenced this pull request Feb 5, 2025
…it sequence

FUNC_ID_SERIAL_API_STARTED received during ZPC init sequence breaks its
NM state machine later.

(cherry picked from commit cb000bc9129fbf694ecf6964a49abc15f8b50ec4)
Forwarded: #11
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
@rzr rzr deleted the review/12/main branch February 11, 2025 20:45
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.

10 participants