-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add function to group object to send a value only if it was changed. #282
Closed
Conversation
This file contains 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
- old implementation is still there for compatibility reasons - new implementation reflects the case "uninitialized while transmitting" - Just states "Updated", "WriteRequest" and "Ok" remove uninitialized state
…nversion by `valueNoSendCompare(..)` * Return if Value was Changed * Always Set the First Value * Copy on Changes Only * Make Comparison Independent of Sending * Extend Doc of `valueNoSendCompare(..)`; Add Note for using `valueNoSend(..)`
custom_hwids.py was never executed in the ci pipeline, but the missing script was just a warning. With Plattform I/O Core 6.1.11 missing scripts are errors, so the pipeline fails.
# Conflicts: # src/knx/group_object.cpp
The build error https://github.com/thelsing/knx/actions/runs/8726457745/job/23941764455?pr=282 is not related to the change and seems to be a general issue. |
use newest atmelsam plattform
add rp2040 to knx-demo example
mgeramb
force-pushed
the
addValueCompareFunction
branch
from
May 21, 2024 17:18
3b78656
to
a330699
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add a function to set and send a value only if it was changed. Similar to the function valueNoSentCompare the function is named valueCompare.