Bugfix/property array element zero size (#908)
* Changed BACnetARRAY index validation into ReadProperty, ReadPropertyMultiple, WriteProperty, and WritePropertyMultiple handlers. * Changed the basic and example objects after refactoring BACnetARRAY index validation into ReadProperty, ReadPropertyMultiple, WriteProperty, and WritePropertyMultiple handlers. * Added BACnet application decoder that understands that an array element of zero is an unsigned integer tagged value. Fixes RP and RPM apps when reading the array element zero of arrays.
This commit is contained in:
@@ -75,6 +75,9 @@ BACNET_STACK_EXPORT
|
||||
int rp_decode_service_request(
|
||||
const uint8_t *apdu, unsigned apdu_len, BACNET_READ_PROPERTY_DATA *rpdata);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
bool read_property_bacnet_array_valid(BACNET_READ_PROPERTY_DATA *data);
|
||||
|
||||
/* method to encode the ack without extra buffer */
|
||||
BACNET_STACK_EXPORT
|
||||
int rp_ack_encode_apdu_init(
|
||||
|
||||
Reference in New Issue
Block a user