BACnetSrvcGetPortIdAndLinkTypeFromHandle (FUN)ΒΆ

FUNCTION BACnetSrvcGetPortIdAndLinkTypeFromHandle : IEC_BACNET_STATUS

Returns the source port-id and datalink layer type from an valid BACnet transaction over which this request has been received.

Returns the source port-id and datalink layer type from an valid BACnet transaction over which this request has been received. If the handle is not valid an error will be returned.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSrvcGetPortIdAndLinkTypeFromHandle

IEC_BACNET_STATUS

Input

pTransactionToken

POINTER TO BACnetAsyncTransactionToken

Transaction token of the asynchronous call - see BACnetAsyncTransactionToken.

pPortId

POINTER TO IEC_BACNET_BYTE

A pointer to the memory provided by the application to store the port-id. The port-id correlates with the configured port-id in the datalink layer configuration.

pDlType

POINTER TO IEC_BACNET_STACK_DATALINK_TYPE

A pointer to the memory provided by the application to store the datalink layer type. The type correlates with the configured link type in the datalink layer configuration.