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

Rework option system #122

Merged
merged 5 commits into from
Oct 25, 2022
Merged

Conversation

JKRhb
Copy link
Contributor

@JKRhb JKRhb commented Aug 9, 2022

I am currently working on an overhaul of the option implementation. This PR is still WIP but I already wanted to share my progress with you.

@shamblett
Copy link
Owner

Just to hijack this slightly are we now good to go for a 5.0.0 release, there's been a lot put in since 4.2.1

@JKRhb
Copy link
Contributor Author

JKRhb commented Aug 9, 2022

Just to hijack this slightly are we now good to go for a 5.0.0 release, there's been a lot put in since 4.2.1

Oh, yeah, sorry, I think we can go forward with a 5.0.0 release :) Although I made some good progress here already, this PR is probably something for the next major release (after 5.0.0).

@JKRhb JKRhb marked this pull request as ready for review August 9, 2022 21:15
@JKRhb
Copy link
Contributor Author

JKRhb commented Aug 9, 2022

I think this PR would now be ready for an initial review (CC @JosefWN). If you think the PR is close to being mergeable, we could include it in the 5.0.0 release. As mentioned above, we could also include it in a later release.

@JKRhb
Copy link
Contributor Author

JKRhb commented Aug 10, 2022

Applied a couple of further improvements, making options actually immutable and providing a very basic OSCORE option implementation. I think there is still some more work to be done, so I would definitely postpone this after the 5.0.0 release.

@shamblett
Copy link
Owner

Ok will do Ive targetted the 5.0.0 release for this Friday

@JKRhb
Copy link
Contributor Author

JKRhb commented Aug 10, 2022

Ok will do Ive targetted the 5.0.0 release for this Friday

Okay, great :)

lib/src/coap_client.dart Outdated Show resolved Hide resolved
test/coap_option_test.dart Outdated Show resolved Hide resolved
@JKRhb JKRhb changed the title WIP: Rework option system Rework option system Aug 21, 2022
@JKRhb
Copy link
Contributor Author

JKRhb commented Aug 21, 2022

Performed some more cleanup and resolved a few remaining issues. I think this PR should now be ready for another (final?) review :)

@JKRhb
Copy link
Contributor Author

JKRhb commented Oct 15, 2022

Rebased the PR and provided a couple of additional test cases for invalid option formats.

@JKRhb
Copy link
Contributor Author

JKRhb commented Oct 15, 2022

Added a last minute fix for the encoding of the OSCORE option.

@JKRhb
Copy link
Contributor Author

JKRhb commented Oct 16, 2022

Rebased the PR against the latest upstream version. Now it should finally be ready to be merged :)

@JKRhb JKRhb force-pushed the coap-options branch 4 times, most recently from f2fdd08 to a5862c0 Compare October 16, 2022 14:00
@JKRhb JKRhb mentioned this pull request Oct 16, 2022
6 tasks
@JKRhb
Copy link
Contributor Author

JKRhb commented Oct 16, 2022

Noticed an issue with the endianness of the integer option again... Should be fixed now. I am applying a couple of last changes, then this should actually be ready to be merged.

@JKRhb
Copy link
Contributor Author

JKRhb commented Oct 16, 2022

I now also included a rework of the observe (de)registration values for requests in f9ea52f, resolving the last item from the checklist in #80.

@shamblett shamblett merged commit 29b9465 into shamblett:master Oct 25, 2022
@JKRhb JKRhb deleted the coap-options branch October 25, 2022 10:12
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.

3 participants