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.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetDeviceAddressToInstNumber

IEC_BACNET_STATUS

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_INST_NUMBER

A pointer to store the device instance number for the requested BACnet MAC address.