Skip to content

SWPROT-9242: Move s2 protocol CC encryption handling to protocol CC #43

New issue

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

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

Already on GitHub? # to your account

Merged

Conversation

Thomasdjb
Copy link
Collaborator

  • create a protocol command class handler that handle also protocol LR commands
  • add unit tests for this handler
  • remove request protocol cc encryption code from s2 and move it to new protocol cc

Change

Checklist

@Thomasdjb Thomasdjb force-pushed the task/thdubois/nls-supervision branch from dab27ba to 72ad3ac Compare February 18, 2025 13:41
Thomasdjb added a commit to Thomasdjb/z-wave-protocol-controller that referenced this pull request Feb 18, 2025
- create a protocol command class handler that handle also protocol LR
  commands
- add unit tests for this handler
- remove request protocol cc encryption code from s2 and move it to new
  protocol cc
- add supervision encapsulation of protocol cc

Origin: SiliconLabsSoftware#43
@Thomasdjb Thomasdjb force-pushed the task/thdubois/nls-supervision branch from 72ad3ac to 6957fed Compare February 18, 2025 14:42
@rzr rzr marked this pull request as draft February 18, 2025 14:44
@rzr
Copy link
Collaborator

rzr commented Feb 18, 2025

May we merge this after the post releases changes that do not touch the code

@rzr rzr requested a review from silabs-aydogane February 18, 2025 14:45
@rzr
Copy link
Collaborator

rzr commented Feb 18, 2025

I see your branch is passing:

https://github.com/Thomasdjb/z-wave-protocol-controller/tree/task/thdubois/nls-supervision

See the green tick next to your commit, no regression.

I will enable build in PR in upcoming PRs

Copy link
Collaborator

@rzr rzr left a comment

Choose a reason for hiding this comment

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

This change has been verified using the simulator:

https://github.com/Z-Wave-Alliance/z-wave-stack/wiki/ZPC#s2v2-example

May we merge other libs2 changes before this one.

@rzr
Copy link
Collaborator

rzr commented Mar 6, 2025

To be merged after:

#50

@rzr rzr force-pushed the task/thdubois/nls-supervision branch from 6957fed to 39c6d7c Compare March 7, 2025 09:11
rzr pushed a commit to Thomasdjb/z-wave-protocol-controller that referenced this pull request Mar 7, 2025
- create a protocol command class handler that handle also protocol LR
  commands
- add unit tests for this handler
- remove request protocol cc encryption code from s2 and move it to new
  protocol cc
- add supervision encapsulation of protocol cc

Origin: SiliconLabsSoftware#43
@rzr rzr marked this pull request as ready for review March 7, 2025 09:11
@rzr rzr requested a review from silabs-peterb March 7, 2025 09:24
zwave_tx_options_t tx_options = {0};
uint8_t number_of_expected_responses = 1;
uint32_t discard_timeout_ms = 5000;
// sl_status_t ret = SL_STATUS_OK;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// sl_status_t ret = SL_STATUS_OK;

@@ -204,6 +204,7 @@ static uic_fixt_shutdown_step_t uic_fixt_shutdown_steps_list[]
{&dotdot_mapper_teardown, "DotDot mapper"},
{NULL, "Terminator"}};


Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator

@rzr rzr left a comment

Choose a reason for hiding this comment

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

Extra review welcome.

@silabs-aydogane
Copy link
Collaborator

Can we merge this?

@rzr
Copy link
Collaborator

rzr commented Mar 17, 2025

Can we merge this?

we can, I wanted to fix tests before merging but since you are depending on it, it can be merged, arent you ?

btw other reviews on open PR is also welcome

@Thomasdjb Thomasdjb force-pushed the task/thdubois/nls-supervision branch from 39c6d7c to f5ad612 Compare April 22, 2025 09:21
Thomasdjb added a commit to Thomasdjb/z-wave-protocol-controller that referenced this pull request Apr 22, 2025
- create a protocol command class handler that handle also protocol LR
  commands
- add unit tests for this handler
- remove request protocol cc encryption code from s2 and move it to new
  protocol cc
- add supervision encapsulation of protocol cc

Origin: SiliconLabsSoftware#43
@rzr rzr force-pushed the main branch 2 times, most recently from 5486b41 to 78dfbc4 Compare April 22, 2025 15:24
Thomasdjb added a commit to Thomasdjb/z-wave-protocol-controller that referenced this pull request Apr 23, 2025
- create a protocol command class handler that handle also protocol LR
  commands
- add unit tests for this handler
- remove request protocol cc encryption code from s2 and move it to new
  protocol cc
- add supervision encapsulation of protocol cc

Origin: SiliconLabsSoftware#43
@Thomasdjb Thomasdjb force-pushed the task/thdubois/nls-supervision branch from f5ad612 to 4d6839a Compare April 23, 2025 08:50
- create a protocol command class handler that handle also protocol LR
  commands
- add unit tests for this handler
- remove request protocol cc encryption code from s2 and move it to new
  protocol cc
- add supervision encapsulation of protocol cc

Origin: SiliconLabsSoftware#43
@Thomasdjb Thomasdjb force-pushed the task/thdubois/nls-supervision branch from 4d6839a to 72b17e7 Compare April 23, 2025 13:47
@rzr
Copy link
Collaborator

rzr commented Apr 23, 2025

@rzr rzr merged commit 1aedae8 into SiliconLabsSoftware:main Apr 23, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants