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

One sensor is missing in output #1

Open
RadekVoltr opened this issue Aug 3, 2017 · 2 comments
Open

One sensor is missing in output #1

RadekVoltr opened this issue Aug 3, 2017 · 2 comments

Comments

@RadekVoltr
Copy link
Owner

Test-scenario is that we have 8 sensor-values, first is datatype 6 and rest are datatype 14. In this case the actual value for last one (8) is not sent, Jeti shows "no value" with a "-" on display. Changing all to datatype 14 fixes the issue. But there clearly is something with the datatype 6 that is not really behaving. Same thing happens when one is datatype 6 and rest is datatype 30

@RC-Thoughts
Copy link

Actually this is not the root cause, more testing revealed that error happens when there is odd number of sensors.

This is fixed by changing line 508 in JETI_EX_SENSOR_2.cpp from
if (valueEXToSend >= nbValueEX - 1) {
to
if (valueEXToSend >= nbValueEX) {

Verified to work with odd and even number of sensors and with Rn and REXn receivers.

@RadekVoltr
Copy link
Owner Author

thanks a lot

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

No branches or pull requests

2 participants