BACnetPDUtypeToText (FUN)¶
FUNCTION BACnetPDUtypeToText : STRING
This is a helper function which gets the name-description of the given BACnet PDU-Type.
const char* A const pointer to a static buffer which holds the string.
- InOut:
Scope
Name
Type
Comment
Return
BACnetPDUtypeToText
STRING
Input
pduType
A value out of ::BACNET_PDU_TYPE or ::BACNET_NPDU_TYPE
network_msg
SINT
network_msg = 0 -> type is a value out of ::BACNET_PDU_TYPEn network_msg = 1 -> type is a value out of ::BACNET_NPDU_TYPEn network_msg = 2 & type < 64 then a value out of ::BACNET_PDU_TYPE will be assumedn network_msg = 2 & type >= 64 then a value out of ::BACNET_NPDU_TYPE will be assumedn Invalid values will get empty string (“”)