Skip to content
Version 6.1.0
Contact Us

BACnetStack_RegisterCallbackSetPropertyLightingCommand

void BACnetStack_RegisterCallbackSetPropertyLightingCommand(
bool (*CallbackSetPropertyLightingCommand)(const uint32_t deviceInstance, const uint16_t objectType, const uint32_t objectInstance, const uint32_t propertyIdentifier, const uint32_t operation, const bool useTargetLevel, const float targetLevel, const bool useRampRate, const float rampRate, const bool useStepIncrement, const float stepIncrement, const bool useFadeTime, const uint32_t fadeTime, const bool usePriority, const uint32_t priority, const uint8_t priorityForWriting, uint32_t *errorCode));

Registers the callback that accepts a WriteProperty of a BACnetLightingCommand-valued property (LightingOutput Lighting_Command).

See the comment above for the field semantics.

See also: CASBACnetStack::FPCallbackSetPropertyLightingCommand

BACnet reference: ANSI/ASHRAE 135-2024 clause 12.54 (Lighting Output Object Type).

Parameter Direction Description
CallbackSetPropertyLightingCommand in The function pointer for the CallbackSetPropertyLightingCommand function. See CASBACnetStack::FPCallbackSetPropertyLightingCommand for more info.

FPCallbackSetPropertyLightingCommand

Topic: Property value callbacks. Declared in CASBACnetStackDLL.h.