Add common functions for initializing the BACnet Application Value lists. Fixes problems with receiving Unconfirmed COV Notifications with more values to store than the stack has reserved in its value list.

This commit is contained in:
skarg
2019-01-31 14:51:46 +00:00
parent b3c9affd49
commit 585b0bae5b
5 changed files with 72 additions and 25 deletions
+8
View File
@@ -134,6 +134,14 @@ typedef struct BACnet_Object_Property_Value {
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
void bacapp_value_list_init(
BACNET_APPLICATION_DATA_VALUE *value,
size_t count);
void bacapp_property_value_list_init(
BACNET_PROPERTY_VALUE *value,
size_t count);
int bacapp_encode_data(
uint8_t * apdu,
BACNET_APPLICATION_DATA_VALUE * value);