-
-
Notifications
You must be signed in to change notification settings - Fork 895
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
Rename "soft ack" to "echo" #1103
Labels
Comments
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff.
Should .isAck() now be renamed to .isEcho() in node code? |
@flatsiedatsie yes Temporary staging url for the documentation before this PR is merged: https://ci.mysensors.org/job/MySensors/job/MySensors/job/PR-1292/7/Doxygen_20HTML/MyMessage_8h.html#a8f286dd914ce8dda5a5795d9cbb74b44 |
mfalkvidd
added a commit
to mfalkvidd/MySensors
that referenced
this issue
May 30, 2019
The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes mysensors#1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff. Thanks to @tekka007 for reviewing the changes and catching my mistakes.
mfalkvidd
added a commit
that referenced
this issue
Jun 6, 2019
* Rename "soft ack" to echo The ack parameter is often confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions) This change should make it harder to confuse echo with the hardware ack, and reflects more accurately what will actually happen. This fixes #1103 I hope I have found all places where the naming needs to be changed, and that I haven't inadvertently renamed any of the *real* ack stuff. Thanks to @tekka007 for reviewing the changes and catching my mistakes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The send() functions (send(), present(), sendSketchInfo(), sendBatteryLevel() and maybe more) have a parameter called ack, which often is confused with what might be called "hardware ack" (see https://forum.mysensors.org/post/34263 for one of many lengthy discussions).
Suggestion: rename the parameter to echo. That should make it harder to confuse with the hardware ack, and reflects more accurately what will actually happen:
NOTE: We'll need to rename message.isAck() to message.isEcho() (keeping Ack in the name will be confusing) but if the isAck function is not present, existing sketches will become broken. We probably don't want to break sketches in a minor release. Maybe we can deprecate isAck and add isEcho for a smoother transition.
The text was updated successfully, but these errors were encountered: