fix BACnet Array size encoding (#437)
* fix BACnet Array size encoding * test BACnet Array size encoding --------- Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -3116,7 +3116,7 @@ int bacnet_array_encode(uint32_t object_instance,
|
||||
if (len > max_apdu) {
|
||||
apdu_len = BACNET_STATUS_ABORT;
|
||||
} else {
|
||||
len = encode_application_unsigned(NULL, array_size);
|
||||
len = encode_application_unsigned(apdu, array_size);
|
||||
apdu_len = len;
|
||||
}
|
||||
} else if (array_index == BACNET_ARRAY_ALL) {
|
||||
|
||||
Reference in New Issue
Block a user