BACnetDumpDeviceDatabase (FUN)ΒΆ
FUNCTION BACnetDumpDeviceDatabase : IEC_BACNET_STATUS
Dumps the internal BACnet server API database.
This function gives an user application the ability to loop through the internal BACnet server API database to retrieve the current property values from the selected objects.
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetDumpDeviceDatabase
Input
devInstance
Instance number of a Device object.
pObjectID
POINTER TO IEC_BACNET_OBJECT_ID
A pointer to the object Identifier to get dumped. If this is NULL all objects from the specified device instance will be dumped.
pICallback
CmpEventMgr.ICmpEventCallback
Pointer to the event-callback interface. Event-callback argument type is EVT_BACNET_DATABASE_DUMP. Purpose documented in BACstack: A pointer to the callback function which has to be provided by the user application. The function will be called for every property for the selected objects.
pUser
POINTER TO IEC_BACNET_BYTE
A pointer to data which the user application provides. This pointer is given as the pUser argument in the callback function ::BACNET_DATABASE_DUMP_CB.
bGetValuesAsCStructures
If set to True, the property contents structure in the callback argument will contain the stored BACnet data for the property as c-struct too otherwise only the rawBuffer is filed with the ASN1 encoded BACnet value.