MangoAutomation / BACnet4J

BACnet/IP stack written in Java. Forked from http://sourceforge.net/projects/bacnet4j/
GNU General Public License v3.0
183 stars 110 forks source link

Failed to read binaryValue #93

Open fdj0926 opened 3 months ago

fdj0926 commented 3 months ago

Encodable e= RequestUtils.readProperty(d, rd, new ObjectIdentifier(ObjectType.binaryValue, 0), PropertyIdentifier.presentValue, null);

This is the code for me to read the binary, but when I start the code, the program will report this error on this line PixPin_2024-05-15_16-06-13

And when I read another data such as analogValue, there was no problem,why,can somebody help me,thanks!

The version of my Maven dependency package is 5.0.2

fdj0926 commented 3 months ago

And when I debug the problem, it first identified the error in this queue image I dont know why the head = -1 and I find the this error occurs occasionally, sometimes he can run normally, but are there also some issues with the results? image