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

net/nanocoap: Options sort module #9475

Closed
wants to merge 4 commits into from

Conversation

kb2ma
Copy link
Member

@kb2ma kb2ma commented Jul 2, 2018

Contribution description

Allows the user to add CoAP Options out of option number order via the coap_opt_add_[string|uint](pkt, ...) functions. Implemented within the nanocoap_opt2_sort module.

Conceptually, this PR accomplishes the same goal as #9144. However, I simplified the implementation based on test results. This PR automatically checks the sort order in coap_opt_finish() and sorts if necessary.

Issues/PRs references

Based on #9474. Supersedes #9144. Implements ideas described in #9048 and #8831.

@kb2ma kb2ma added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Area: CoAP Area: Constrained Application Protocol implementations labels Jul 2, 2018
@kb2ma kb2ma requested a review from bergzand July 2, 2018 07:56
@kb2ma kb2ma mentioned this pull request Jul 2, 2018
@smlng
Copy link
Member

smlng commented Jan 24, 2019

please rebase

@kb2ma
Copy link
Member Author

kb2ma commented Feb 5, 2019

@smlng, thanks for the ping. Unless you object, I plan to close this PR. I don't see the need for it that I originally anticipated. We can always reinstate it later.

@smlng
Copy link
Member

smlng commented Feb 5, 2019

if this is obsolete or not required, please close.

@kb2ma
Copy link
Member Author

kb2ma commented Feb 5, 2019

This PR may be useful at some point, but it's a distraction for now. If anyone in the future would like to pursue it, feel free to add a comment.

@kb2ma kb2ma closed this Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: CoAP Area: Constrained Application Protocol implementations Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants