MangoAutomation / BACnet4J

BACnet/IP stack written in Java. Forked from http://sourceforge.net/projects/bacnet4j/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to read binaryValue

fdj0926 opened this issue · comments

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

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