BACnetDeviceAddressToInstNumber
(FUN)
FUNCTION BACnetDeviceAddressToInstNumber : IEC_BACNET_STATUS
Retrieves the device instance number for a given BACnet MAC address.
This function retrieves the device instnac number for a given BACnet MAC address. The API searches in the local device database in the server API, in the dynamic address binding list and in the ‘Address_Binding’ property of local constructed device objects in the server API database.
- InOut:
Scope
Name
Type
Comment
Return
BACnetDeviceAddressToInstNumber
A status indicating whether the operation worked.
Input
pAddress
POINTER TO IEC_BACNET_ADDRESS
A pointer with a valid BACnet MAC address for which the device instance number should be retrieved.
pInstNumber
POINTER TO IEC_BACNET_DWORD
A pointer to store the device instance number for the requested BACnet MAC address.