Breaking changes to library beyond Version 2.1.0 on Arduino Repository cause garbled text or no response
We were integrating a SI-411-SS SDI-12 IR radiometer onto an arduino using this library and previously we had no issue using it with a WXT536 in SDI-12 mode. This may be a bold claim, but I think that after Version 2.1.0 in the arduino repository there's some sort of breaking change that has occurred.
We tried multiple arduinos and found that I believe for Version 2.2.0 the returned SDI-12 response will come garbled like the image here:
In 2.3.0 a reply never comes, and 2.1.0 works completely fine.
The behavior was the same with multiple different commercial research grade SDI-12 sensors.
I just wanted to point this out in case anyone else experiences this or if someone wants to fix it.
I am experiencing something similar, I have been using a TEROS 12 sensor perfectly with this library for over a year already and then all of a sudden it started giving problems around 2 weeks ago, presumable after doing some updates.
I checked and my program was using v2.3.0 and as you have stated, with this version a reply never comes. I tried to roll back to version 2.1.0 as you have suggested, unfortunately it does not allow me and I get the below error.
UnknownPackageError: Could not find the package with 'envirodiy/SDI-12 @ 2.1.0' requirements for your system 'windows_amd64'
I think this may be due to the library having a different name at that time. The correct library name at that time was envyas/SDI12 (not envirodiy/SDI-12)
However I decided to test with v2.1.4 and it is working perfectly.
It has crazy that such a big breaking change has not been noticed by a bigger audience yet, this really needs to be addressed and fixed.
@tomjmiletich and @Darren777, what processors are you using?
Hi @SRGDamia1, thank you for interacting with this.
I am using an esp32.
Although I said I managed to get it working perfectly, it turns out it actually was not. It was working perfectly when I was powering the micro controller and sensors off of my PC's USB port, however when I moved the device into the field and powered it off of a transformer then it did not work.
I see now that both ESP32 Core as well as this library have been updated so I am going to update my code with these latest library changes and see if the problem has been solved.