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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Thomasdjb
Copy link
Contributor

  • 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

- 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 task/thdubois/nls-supervision branch from 6957fed to 39c6d7c Compare March 7, 2025 09:11
@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.

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.

2 participants