IEC_BACNET_STRING (STRUCT)

TYPE IEC_BACNET_STRING : STRUCT

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

typ

IEC_BACNET_STRING_TYPE

Specifies the encoding of the string

codePage

IEC_BACNET_WORD

Specifies the codepage of the string (only needed for type ::BACNET_STRING_DBCS)

nBufferSize

IEC_BACNET_UINT

Size of the buffer in Bytes which holds the string (not including the termination byte)

data

UNION_BACNET_STRING

Union which covers the pointers for the different possible encodings