BACnetWriteProperty (FUN)
FUNCTION BACnetWriteProperty : IEC_BACNET_STATUS
Sends a WriteProperty request
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetWritePropertyInput
pSourceAddressPOINTER TO IEC_BACNET_ADDRESS
If the BACnet application has only one device constructed and installed, this can be NULL. In this case the MAC address of this device will be used. Otherwise this shall be the MAC address returned on device object construction.
pDestinationAddressPOINTER TO IEC_BACNET_ADDRESS
This is the MAC address of the device to which the request should be sent.
pServiceInfoPOINTER TO IEC_BACNET_WRITE_INFO
A pointer to a data structure which contains all service parameters this service provides and the application needs to process.
pAPDUParamsPOINTER TO IEC_BACNET_APDU_PROPERTIES
A pointer to the structure which contains a set of APDU properties to control the timing and size of transmitted frames for this request. It temporarily overwrites the global APDU settings made in the source device from which this request is sent and which parameters would control this request if this pointer is NULL.
pTransactionTokenPOINTER TO BACnetAsyncTransactionToken
Transaction token of the asynchronous call - see BACnetAsyncTransactionToken.
pErrorPOINTER TO IEC_BACNET_ERROR
In case of any service execution error the error result will be stored in the structure this pointer references. This parameter may be NULL if the application isn’t interested in detailed error information.