BACnetEncodeAsn1StandardProperty (FUN)
FUNCTION BACnetEncodeAsn1StandardProperty : IEC_BACNET_STATUS
Encodes the given property contents structure into an BACnet ASN1 encoded data type.
Encodes the given property contents structure into an BACnet ASN1 encoded data type. If the given property contents structure is invalid or the buffer for the encoding is not large enough an error will be returned.
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetEncodeAsn1StandardPropertyInput
pPropContPOINTER TO IEC_BACNET_PROPERTY_CONTENTS
The pointer to an filled property contents buffer which shall be encoded into ASN1.
pBufferPOINTER TO IEC_BACNET_BYTE
The pointer to the buffer which stores the ASN1 encoded data.
nBufferSizeThe size of the buffer in which the ASN1 encoded data will be stored.
pEncodedSizePOINTER TO IEC_BACNET_UINT
The pointer to an unsigned integer in which the length from the ASN1 encoded data will be stored.