2.11.5 FlaggedPropertyValue Structure

The FlaggedPropertyValue structure includes a flag to indicate whether the value was successfully retrieved or not. Error conditions include a missing property or a failure at the server.


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

Flag

PropertyValue (optional) (variable)

...

Flag (1 byte): An unsigned integer. This value of this flag determines what is conveyed in the PropertyValue field. The flag MUST be set to one of the values in the following table.

Flag value

Meaning

0x0

The PropertyValue field will be a PropertyValue structure containing a value compatible with the property type implied by the context.

0x1

The PropertyValue field is not present.

0xA

The PropertyValue field will be a PropertyValue structure containing an unsigned 32-bit integer. This value is a property error code, as specified in section 2.4.2, that indicates why the property value is not present.

PropertyValue (optional) (variable): A PropertyValue structure, as specified in section 2.11.2.1, unless the Flag field is set to 0x1.

Show: