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

examples: Add traits based CoAP example #241

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chrysn
Copy link
Collaborator

@chrysn chrysn commented Mar 7, 2024

Unlike the server, this is using embedded-nal-async, because that's what a CoAP implementation exists for that can do client as well. (I may update the server side to use that as well instead of the blocking version, but they don't conflict).

Having a server and a client that work with embedded CoAP stacks is an important step towards having a pair that can exchange requests over 6LoWPAN on embedded hardware (apart from the executor setup and possibly the random source, both should work on RIOT just fine).

PR marked as WIP as I'd like to have authz in there, and am struggling with it. (The only working client side example I have is in C, and that appears to do the static-static derivation manually from reaching deep down into the state, but that can't be it, given how smoothly the server side works).

@geonnave geonnave added the enhancement New feature or request label Mar 13, 2024
@geonnave
Copy link
Collaborator

This looks good (although I didn't run it), and the authz code seems to be there. Anything else missing from your point of view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants