Describe the bug
There is a terrible bug in the Bacnet4J library during the segmented response from remote device to ReadProperty object-list. From a certain number of objects the server returns a segmented response. Bacnet4J for some reason misses the first segment of the response and therefore repeats the request. This leads to an error.
To Reproduce
You can use Mango (IMO any release) and try to discover objects on a device with large number of object instances. In my case the problem was on a device with 750 data points, probably smaller number of instances generates the issue as well.
Expected behavior
Device responses the with the list of objects.
Screenshots
Yabe
Bacnet4J
Mango Version (please complete the following information):
all Mango versions because the issue is in the Bacnet4J library
Minimal code example to reproduce
I was able to repeat the issue in my code:
Describe the bug There is a terrible bug in the Bacnet4J library during the segmented response from remote device to ReadProperty object-list. From a certain number of objects the server returns a segmented response. Bacnet4J for some reason misses the first segment of the response and therefore repeats the request. This leads to an error.
To Reproduce
You can use Mango (IMO any release) and try to discover objects on a device with large number of object instances. In my case the problem was on a device with 750 data points, probably smaller number of instances generates the issue as well.
Expected behavior Device responses the with the list of objects.
Screenshots Yabe
Bacnet4J
Mango Version (please complete the following information):
Minimal code example to reproduce I was able to repeat the issue in my code:
Eror tracking: