2.11.6 FlaggedPropertyValueWithType Structure

The FlaggedPropertyValueWithType structure includes both the property type and a flag giving more information about the property value.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

PropertyType

Flag

PropertyValue (optional) (variable)

...

PropertyType (2 bytes): An unsigned integer that specifies the data type of the property value, according to the table in section 2.11.1.

Flag (1 byte): An unsigned integer. This flag MUST be set one of three possible values: 0x0, 0x1, or 0xA, which determines what is conveyed in the PropertyValue field. For the interpretation of this flag, refer to the table in section 2.11.5.

PropertyValue (optional) (variable): A PropertyValue structure, as specified in section 2.11.2.1, unless the Flag field is set to 0x1. The value MUST be compatible with the value of the PropertyType field.