2.2.1.1.15 Machine Name

The Machine Name attribute specifies an unterminated UCS-2LE string that identifies the device's host name. This attribute is mandatory; implementations MUST include it in Hello frames.


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

Type

Length

Device Host Name (variable)

...

Type (1 byte): This field MUST be set to 0x0F.

Length (1 byte): This field specifies the length of the Device Host Name field, in bytes. This field's value MUST be in the range 2 to 32 (that is, 1 to 16 Unicode characters).

Device Host Name (variable): This field specifies a UCS-2LE string that specifies the device's host name, where host name SHOULD be a non-fully qualified domain name. The string MUST NOT be null-terminated.