IEC_BACNET_BIT_STRING (STRUCT)ΒΆ

TYPE IEC_BACNET_BIT_STRING : STRUCT

Structure for representing the BACnetBitString type NOTE: The first Bit in BACnet is the most significant bit in the first octet of the buffer (buffer[0] = (0x80 | 0x40) // setting the first two Bits in the bit string value)

InOut:

Name

Type

Comment

bitCount

IEC_BACNET_UINT

Number of valid bits in buffer

data

ARRAY [0..(BACNET_MAX_BIT_STRING_BUF - 1)] OF IEC_BACNET_BYTE

Buffer for the bit string (the MSB in the first byte of this buffer is bit #0 in BACnet

mask

ARRAY [0..(BACNET_MAX_BIT_STRING_BUF - 1)] OF IEC_BACNET_BYTE

Specifies a mask to disable some bits set above (for internal use only)