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

SMP Version 2 Support #7

Open
SZenglein opened this issue Sep 5, 2024 · 0 comments
Open

SMP Version 2 Support #7

SZenglein opened this issue Sep 5, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@SZenglein
Copy link
Collaborator

This library has been written primarily before zephyr started adapting and making changes to SMP. The primary change I can see is the return type if there is an error.

Since we don't assume a return type for any request, it could be as simple as defining new V2 responses that the user can deserialize into.

Tasks I see:

  • Identify and define new "group error types"
  • Check if we can support both versions in one type
  • Check if we can automatically detect the version
  • Deserialize payload based on SMP header version field

References:
https://docs.zephyrproject.org/latest/services/device_mgmt/smp_protocol.html

@SZenglein SZenglein added enhancement New feature or request good first issue Good for newcomers labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant