ClientCreatableObjects.GetHook (METH) ¶ METHOD GetHook : BACnet.IBACnetServerPluginHook InOut: Scope Name Type Return GetHook BACnet.IBACnetServerPluginHook Input index UINT
BACnetSchedule.GetWeeklyEntry (METH) ¶ METHOD GetWeeklyEntry : CmpBACnet.IEC_BACNET_STATUS Gets the weekly entry for a specific day dayOfWeek at the index nIndex in the Weekly_Schedule-Property of this BACnet-Object. There are two options how to deal with the content buffer (value). 1.) the caller provides the content buffer large enough to hold the content. This works just for plain content data, because otherwise the caller can not determine the needed size of the content buffer a-priori. In case the content is of complex data type, GetWeeklyEntry returns BACNET_STATUS_INVALID_VALUE. 2.) stack allocated content buffer For this option provide value.buffer.pBuffer = 0 and free the stack allocated content buffer after usage FreeStackAllocatedMemory(value.buffer.pBuffer) Choosing one of the options, please be aware, that the Weekly_Schedule-Property of your Schedule object might be writable, so clients can add weekly entries of complex type even if your application isn’t doing so. InOut: Scope Name Type Comment Return GetWeeklyEntry CmpBACnet.IEC_BACNET_STATUS Input dayOfWeek CmpBACnet.IEC_BACNET_DAY_OF_WEEK The day of the week for which to get a weekly entry. nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT The 1 based index of the entry of the week day to get. Output tim TIME The time of the entry after calling the method. Inout value CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The value of the entry after calling this method. The value.buffer.pBuffer has to have an allocated memory, which fits the data’s needs (is at least allocated big enough!)!
BACnetSchedule.GetWeeklyEntryCount (METH) ¶ METHOD GetWeeklyEntryCount : CmpBACnet.IEC_BACNET_STATUS Gets the number of weekly entries for a specific day dayOfWeek in the Weekly_Schedule-Property of this BACnet-Object. InOut: Scope Name Type Comment Return GetWeeklyEntryCount CmpBACnet.IEC_BACNET_STATUS Input dayOfWeek CmpBACnet.IEC_BACNET_DAY_OF_WEEK The day of the week for which the entry count shall be determined. Output count CmpBACnet.IEC_BACNET_ELEMENT_COUNT The number of entries for the specified week day after calling this method.
BACnetSchedule.GetWeeklySchedule (METH) ¶ METHOD GetWeeklySchedule : CmpBACnet.IEC_BACNET_STATUS Gets the Weekly_Schedule of this BACnet object. The returned pointer pWeeklySchedule is allocated with the corresponding data, whereas the user has to use FreeStackAllocatedMemory, to free the allocated memory after data usage. InOut: Scope Name Type Comment Return GetWeeklySchedule CmpBACnet.IEC_BACNET_STATUS Output pWeeklySchedule POINTER TO CmpBACnet.IEC_BACNET_DAILY_SCHEDULE The returned Pointer gets filled with the data of the Priority Array AND (!) the data referenced within the array (i.e. strings, etc.). After usage, use FreeStackAllocatedMemory , to free the used memory.
BACnetSchedule.RemoveWeeklyEntry (METH) ¶ METHOD RemoveWeeklyEntry : CmpBACnet.IEC_BACNET_STATUS Removess a weekly entry for a specific day dayOfWeek at the index nIndex in the Weekly_Schedule-Property of this BACnet-Object. InOut: Scope Name Type Initial Comment Return RemoveWeeklyEntry CmpBACnet.IEC_BACNET_STATUS Input dayOfWeek CmpBACnet.IEC_BACNET_DAY_OF_WEEK The day of the week for which n entry shall be removed. nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT 0 The 1 based index of the entry to remove.
BACnetSchedule.RemovePropertyReference (METH) ¶ METHOD RemovePropertyReference : CmpBACnet.IEC_BACNET_STATUS Removes the device object property reference at index nIndex in the List_Of_Object_Property_References-Property of this BACnet-Object. InOut: Scope Name Type Initial Comment Return RemovePropertyReference CmpBACnet.IEC_BACNET_STATUS Input nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT 0 The 1 based Index of the reference to remove.
BACnetSchedule.AddWeeklyEntry (METH) ¶ METHOD AddWeeklyEntry : CmpBACnet.IEC_BACNET_STATUS Adds a weekly entry to the Weekly_Schedule-Property of this BACnet-Object For now dont use this to add weekly entries with complex type, otherwise GetWeeklyEntry will refuse to get those entries. Please see comment on GetWeeklyEntry related to complex data types. InOut: Scope Name Type Comment Return AddWeeklyEntry CmpBACnet.IEC_BACNET_STATUS Input tim TIME The time of the weekly entry to add. value CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The value corresponding to the entry. dayOfWeek CmpBACnet.IEC_BACNET_DAY_OF_WEEK The day of the week of the weekly entry to add.
BACnetSchedule.GetPropertyReference (METH) ¶ METHOD GetPropertyReference : CmpBACnet.IEC_BACNET_STATUS Gets the device object property reference at index nIndex in the List_Of-Object_Property_References-Property of this BACnet-Object. InOut: Scope Name Type Comment Return GetPropertyReference CmpBACnet.IEC_BACNET_STATUS Input nIndex CmpBACnet.IEC_BACNET_ELEMENT_COUNT The 1 based index of the reference to get. Output devObjPropRef CmpBACnet.IEC_BACNET_DEV_OBJ_PROP_REFERENCE The object property reference gotten after a call to this method.
BACnetSchedule.GetPropertyReferenceCount (METH) ¶ METHOD GetPropertyReferenceCount : CmpBACnet.IEC_BACNET_STATUS Gets the number of device object property reference entries in the List_Of_Object_Property_References-Property of this BACnet-Object. InOut: Scope Name Type Comment Return GetPropertyReferenceCount CmpBACnet.IEC_BACNET_STATUS Output count CmpBACnet.IEC_BACNET_ELEMENT_COUNT The number of property references of the List_Of_Object_Property_References of this object.
BACnetMSTPdatalink.CheckMstpDeviceDriverReady (METH) ¶ METHOD PROTECTED CheckMstpDeviceDriverReady : BOOL Checks, if parent MS/TP COM device driver is up and running. In case FALSE is returned the BACnetServer will not start. InOut: Scope Name Type Comment Return CheckMstpDeviceDriverReady BOOL Input pConnector POINTER TO IoConfigConnector “child” connector to parent device. deviceName STRING device driver name