Open anas-rz opened 3 years ago
If you are getting a segmentation not supported error from the device then chances are it is not you as a client that doesn't have a big enough maxApduLengthAccepted value, it's the device. Even though the property name is objectList it is a BACnet array, so break your request into pieces. Reading array index 0 returns the number of elements in the list, then cycle through that value and read each array element one at a time.
The only time this doesn't work is for properties like the deviceAddressBinding which is a list, do you can read the whole thing or nothing at all.
Hi @JoelBender ,
Hope you are doing great.
I am reading data from AHUs but while fetching the list of objects it gives an error: segmentationNotSupported. On sending WhoIsIAm, I get this response:
The configurations for my client application are:
I changed the maxApduLengthAccepted to that of remote device. Also tried to make it large enough for other devices. Read other issues tried debugging
Also tried to make APDU length large enough and equal to that of remote device but still couldn't read objectList. I am able to read individual properties and their values but not overall list of objects. Can I read it? I need to put them in @volttron for grab_bacnet_config.py script. Is there a way around to tweak the apdu length or segmentation stuff?
Regards, Muhammad Anas Raza