BACnetServiceChoiceToText (FUN)

FUNCTION BACnetServiceChoiceToText : STRING

This ia a helper function which get the name-description of the given service choice.

InOut:

Scope

Name

Type

Comment

Return

BACnetServiceChoiceToText

STRING

Input

serviceChoice

IEC_BACNET_UNSIGNED

serviceChoice

unconfirmed_msg

BYTE

unconfirmed_msg = 0 -> type is a value out of CONF_SERV_REQUEST unconfirmed_msg = 1 -> type is a value out of UNCONF_SERV_REQUEST unconfirmed_msg = 2 & type < 64 then a value out of CONF_SERV_REQUEST

will be assumed

unconfirmed_msg = 2 & type >= 64 then a value out of UNCONF_SERV_REQUEST

will be assumed

Invalid values will get empty string (“”)