-
Notifications
You must be signed in to change notification settings - Fork 82
Avoid multivalue properties split #293
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f0328c0
Clear has_been_modified_in_callback after a succesful append
pennam 6136b40
Create CHECK_CBOR_MULTI macro to return CborErrorTooManyItems error i…
pennam a89f2d1
Use CHECK_CBOR_MULTI in all multivalue properties
pennam 7141e71
Proceed encoding properties only if no error occurred
pennam f16a696
Use a more fair way to send properties to the cloud
pennam f35fe82
Move last_property index out of CBOREncoder::encode function and fix …
pennam 5c416f2
Add bool flag and functions to handle properties appended to a CBOR m…
pennam 803bcde
Instead of simply discard the message containing a splitted multivalu…
pennam bb33feb
In case of cbor_encoder_close_container failure, reduce the number of…
pennam 591224e
Make more explicit and clear that properties are echoed back to the c…
pennam 7508607
Use a constant value for CBOR_ENCODER_NO_PROPERTIES_LIMIT
pennam 537e722
Use bool variables to make if condition more readable
pennam cc3aa38
Use for loop instead of for_each to be able to break loop when condit…
pennam 2a8c879
Change test buffer size in order to match real application buffer size
pennam 4b991e3
Change test case in order to match the new buffer size
pennam f6af6a7
Add test case to check multivalue properties split
pennam 61033be
Use FSM to encode CBOR messages
pennam bba3144
Add test for a single property not fitting inside 256 bytes
pennam e285273
Add custom and dedicated error for splitted items
pennam 5576a60
Declare last_checked_property_index as protected variable of ArduinoI…
pennam 78b3158
Merge FinishAppend and AdvancePropertyContainer encoder states
pennam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.