Skip to content
Version 6.1.0
Contact Us

BACnetStack_RegisterCallbackGetPropertyAuthenticationFactorFormat

void BACnetStack_RegisterCallbackGetPropertyAuthenticationFactorFormat(
bool (*CallbackGetPropertyAuthenticationFactorFormat)(const uint32_t deviceInstance, const uint16_t objectType, const uint32_t objectInstance, const uint32_t propertyIdentifier, uint32_t *formatType, bool *useVendorId, uint32_t *vendorId, bool *useVendorFormat, uint32_t *vendorFormat, const bool useArrayIndex, const uint32_t propertyArrayIndex, uint32_t *errorCode));

Registers the callback used to supply a BACnetAuthenticationFactorFormat-valued property (CredentialDataInput Supported_Formats, cl. 12.36) field by field; the stack assembles and encodes the SEQUENCE.

Supported_Formats is an ARRAY, so the stack calls this once per element with useArrayIndex/propertyArrayIndex set (a length request - arrayIndex 0 - is answered by the UnsignedInteger callback, as with State_Text). Required for a Credential Data Input to be conformant (B-ACCR).

See also: CASBACnetStack::FPCallbackGetPropertyAuthenticationFactorFormat

BACnet reference: ANSI/ASHRAE 135-2024 clause 12.36 (Credential Data Input Object Type).

Parameter Direction Description
CallbackGetPropertyAuthenticationFactorFormat in The function pointer for the CallbackGetPropertyAuthenticationFactorFormat function. See CASBACnetStack::FPCallbackGetPropertyAuthenticationFactorFormat for more info.

FPCallbackGetPropertyAuthenticationFactorFormat

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