-
Notifications
You must be signed in to change notification settings - Fork 2k
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
nanocoap: add coap_get_token() #17976
Conversation
2169400
to
4df8cca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @returns pointer to the token-position
does not tell you about its lenght
4df8cca
to
c4f6249
Compare
Anything missing @kfessel? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. This is a nice one :)
I am not sure about the name functionality is good (and marian just acked) |
We also have |
with but maybe i am over thinking that naming thing, lets move on an deprecate the use of coap_pkt_t.token |
Contribution description
This adds a
coap_get_token()
function so we can eventually get rid of the token pointer incoap_pkt_t
.Testing procedure
Issues/PRs references