BACnetStack_RegisterCallbackGetPropertyDate
void BACnetStack_RegisterCallbackGetPropertyDate( bool (*CallbackGetPropertyDate)(const uint32_t deviceInstance, const uint16_t objectType, const uint32_t objectInstance, const uint32_t propertyIdentifier, uint8_t *yearMinus1900, uint8_t *month, uint8_t *day, uint8_t *weekday, const bool useArrayIndex, const uint32_t propertyArrayIndex, uint32_t *errorCode));Registers a callback the stack calls to retrieve the current value of a Date-typed property from the host application, in response to a ReadProperty(Multiple) request.
See also: CASBACnetStack::FPCallbackGetPropertyDate
Parameters
Section titled “Parameters”| Parameter | Direction | Description |
|---|---|---|
CallbackGetPropertyDate |
in | The function pointer for the CallbackGetPropertyDate function. See CASBACnetStack::FPCallbackGetPropertyDate for more info. |
Callback type
Section titled “Callback type”Topic: Property value callbacks. Declared in CASBACnetStackDLL.h.