5.2.4.2.5 MSG_CONF_TERMINAL
Used to create a new or reconfigure an existing terminal. The terminal requires a unique ID. Values for label and background color must also be set.
Field | Size | Values | Description |
---|---|---|---|
Message ID | 1 byte | 0x26 | |
Data length | 2 bytes | 10 + label length (N) | |
ID | 2 bytes | 0x0000-0xFFFF | ID of terminal |
Label | N bytes | Null-terminated string | Terminal label |
Width | 1 byte | 0 - 255 | Number of characters wide |
Height | 1 byte | 0 - 255 | Number of lines high |
Background color | 3 bytes | 0xRRGGBB | RGB background color |
Foreground color | 3 byte | 0xRRGGBB | RGB foreground color |