EVT_BACNET_IAM
(STRUCT)
TYPE EVT_BACNET_IAM : STRUCT
Receives I-Am requests.
This is the type declaration for the I-Am service application hook. This hook is given all of the parameters of the service request, and is responsible for all error checking (addresses and service information correctness and any other service parameter given).
- InOut:
Name
Type
Comment
pCBStatus
POINTER TO IEC_BACNET_CB_STATUS
CB-Status returned for the event. “Default” processes the standard APIs reaction, which needs no additional Callback-Signalling
phTransaction
POINTER TO BYTE
This is the Transaction State Machine (TSM) handle for the current service request. It is generated by the BACnet API and is the first parameter given to the Hook- Completion functions.
sourceAddress
POINTER TO IEC_BACNET_ADDRESS
This is the MAC address of the BACnet addressed device from which the request has been sent.
destinationAddress
POINTER TO IEC_BACNET_ADDRESS
This is the MAC address of the device constructed by the application which has received the request.
pServiceInfo
POINTER TO IEC_BACNET_I_AM_INFO
A pointer to the service information data structure which contains information about the source device - Device Instance Number and the values of three Device object Properties: max APDU length, segmentation supported, and vendor identifier.