2.2.99. Screen Meta Data Command Class, version 2¶
The Screen Meta Data Command Class, version 2 introduces a Screen Timeout bit. The support for the Screen Timeout bit may be advertised by the Screen Attribute Command Class, version 2.
Details not mentioned remain the same as in version 1.
2.2.99.1. Screen Meta Data Report Command¶
This command is used to transfer data to the device hosting the screen. The size of the payload MUST NOT be bigger than 48 bytes. It is possible to write characters to multiple lines in the same frame.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SCREEN_MD (0x92) |
|||||||
Command SCREEN_MD_REPORT |
|||||||
More Data |
Extended Setup |
Screen Settings |
Character Encoding |
||||
Line Settings A |
Clear A |
Line Number A |
|||||
Character Position A |
|||||||
Number of Characters A |
|||||||
Character 1,A |
|||||||
… |
|||||||
Character N,A |
|||||||
… |
|||||||
Line Settings B |
Clear B |
Line Number B |
|||||
Character Position B |
|||||||
Number of Characters B |
|||||||
Character 1,B |
|||||||
… |
|||||||
Character N,B |
|||||||
More Data (1 bit)
The more data bit indicates if additional reports are expected before the whole data streaming is completed. If the more data bit is set to 1 then additional reports are expected and the opposite if 0.
Extended Setup (1 bit)
If set to true, the last byte of the payload defines an extended setup.
Screen Settings (3 bits)
The screen settings identifier MUST be encoded according to Table 2.523.
All other values are reserved and MUST NOT be used by a sending node. Reserved values MUST be ignored by a receiving node.
Character Encoding (3 bits)
The Character Encoding identifier MUST be encoded according to Table 2.524.
Note
Devices supporting Unicode UTF-16 characters are described by a 2 byte long decimal representation. The first byte is the most significant byte. E.g. if there is one Unicode character in the set frame the char 1 will be MSB and char 2 will be LSB of the Unicode character.
All other values are reserved and MUST NOT be used by a sending node. Reserved values MUST be ignored by a receiving node.