BACnetInstnumberToDeviceAddress (FUN)¶
FUNCTION BACnetInstnumberToDeviceAddress : IEC_BACNET_STATUS
Function retrieves the BACnet MAC address for an b LOCAL device instance.
This functionm is needed if the appication needs to know it’s own device address and how it needs to look if it should be reachable across BACnet networks. For e.g. the application needs to know it’s own address for an specific network because it needs to write an entry into some recipient list. NOTE: Do not mix b LOCAL and b REMOTE device instances here. The function which is needed for resolving b REMOTE instances is ::BACnetFindUpdateDeviceAddressBindings
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetInstnumberToDeviceAddress
Input
devInst
The device instance number for which the address should be retrieved.
nRemoteNetnumber
A BACnet network number from where the device instance in question should be accessed.
pAddress
POINTER TO IEC_BACNET_ADDRESS
A pointer to an address structure which is filled by the API on success.