IEC_BACNET_FRAME_PARAM (STRUCT)

TYPE IEC_BACNET_FRAME_PARAM : STRUCT

Frame decoding parameter

Contains the data of the frame to be decoded. The fields tagBACNET_FRAME_PARAMbacFrame and tagBACNET_FRAME_PARAMbacLength are input fields and other fields are filled by the decoder function BACnetFrameDecoder.

InOut:

Name

Type

Comment

pduType

IEC_BACNET_UNSIGNED

output field: type of BACnet PDU (-1 not valid, >= 64 -> network msg)

serviceChoice

IEC_BACNET_UNSIGNED

output field: service choice (-1 for not valid, >= 64 -> unconfirmed)

invokeID

IEC_BACNET_UNSIGNED

output field: invoke-id for confirmed service (-1 for not valid)

objectID

IEC_BACNET_OBJECT_ID

output field: object ID (objType = -1 for not valid)

propertyID

IEC_BACNET_PROPERTY_ID

output field: propertyID (-1 for not valid)

arrayIndex

IEC_BACNET_SIGNED

output field: array Index (BACNET_VOID_INDEX (-1) for not valid)

itemNumber

IEC_BACNET_UNSIGNED

output field: list item number that failed of any reason

pszFrame

POINTER TO BYTE

output field: buffer for complete ASCII decoded BACnet frame

partinfo

POINTER TO IEC_BACNET_FRAME_PART

output field: buffer for BACnet frame parts

bacError

IEC_BACNET_BYTE

output field: optional buffer for BACnet error frame

bacFrame

IEC_BACNET_BYTE

input field: BACnet frame to decode

bacLength

IEC_BACNET_UNSIGNED

input field: length of frame to decode