Arduino-SDI-12 icon indicating copy to clipboard operation
Arduino-SDI-12 copied to clipboard

Missing check for 8.33mS marking before checking address for sdi12 slave/sensor

Open ZachaRuba opened this issue 2 years ago • 1 comments

Hello,

I did not see anywere in your library a check for marking before handling a command when using as an sdi12 sensor. This can cause problems when commands end with the same address as your sensor. For example, sensor address is 0. If there are multiple sensors on the dataline, you might receive 1D0! In this case, your sensor might respond with an acknowledgement, 0! and corrupt the response from the other sensor.

https://www.sdi-12.org/archives_folder/SDI-12%20Specification%201.3%20July%2018%202005.pdf image

ZachaRuba avatar Apr 18 '23 20:04 ZachaRuba