Skip to content
Version 6.1.0
Contact Us

BACnetStack_RegisterCallbackGetPropertyLightingCommand

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

Registers the callback used to supply a BACnetLightingCommand-valued property (LightingOutput Lighting_Command, cl. 12.54.6) field by field; the stack assembles and encodes the SEQUENCE.

Only operation is mandatory - set each use* flag false to omit that optional field. Required for a Lighting Output to be conformant (B-LD / B-LS).

See also: CASBACnetStack::FPCallbackGetPropertyLightingCommand

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

Parameter Direction Description
CallbackGetPropertyLightingCommand in The function pointer for the CallbackGetPropertyLightingCommand function. See CASBACnetStack::FPCallbackGetPropertyLightingCommand for more info.

FPCallbackGetPropertyLightingCommand

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