UNION_BACNET_STRING (UNION)

TYPE UNION_BACNET_STRING : UNION

Structure for representing the BACnetCharString type NOTE: The stack API expects the string to be in the right encoding. It doesn’t make any character or codepage conversions here.

InOut:

Name

Type

Comment

chstringData

POINTER TO BYTE

Pointer to buffer for type ::BACNET_STRING_UTF_8, ::BACNET_STRING_JIS_C_6226 and ::BACNET_STRING_ISO_8859_1

wstringData

POINTER TO IEC_BACNET_WORD

Pointer to buffer for type ::BACNET_STRING_DBCS and ::BACNET_STRING_UCS_2

dwstringData

POINTER TO IEC_BACNET_DWORD

Pointer to buffer for type ::BACNET_STRING_UCS_4