Secured SubscribeCOVProperty decoder. (#892)

* Secured SubscribeCOVProperty decoder.

* Changed datatype of monitoredProperty in struct BACnet_Subscribe_COV_Data
This commit is contained in:
Steve Karg
2025-01-09 14:27:39 -06:00
committed by GitHub
parent 9f858fdb4f
commit ece31443b6
5 changed files with 422 additions and 205 deletions
+15
View File
@@ -919,6 +919,21 @@ bool bacnet_property_reference_same(
return status;
}
/**
* @brief Copy the complex data of src to dest
* @param dest - destination structure
* @param src - source structure
*/
void bacnet_property_reference_copy(
struct BACnetPropertyReference *dest,
const struct BACnetPropertyReference *src)
{
if (dest && src) {
dest->property_identifier = src->property_identifier;
dest->property_array_index = src->property_array_index;
}
}
/**
* @brief Decode a BACnetPropertyReference from a buffer
* @param apdu - the APDU buffer