2.2.96. Screen Attributes Command Class, version 1¶
The Screen Attribute Command Class is used to retrieve screen attributes from the device hosting the screen. This allows another device to send data formatted according to the screen attributes to the device hosting the screen. The screen may be located on any device in the network.
2.2.96.1. Screen Attributes Get Command¶
This command is used to request the screen attributes.
The Screen Attributes Report Command MUST be returned in response to this command.
This command MUST NOT be issued via multicast addressing.
A receiving node MUST NOT return a response if this command is received via multicast addressing. The Z-Wave Multicast frame, the broadcast NodeID and the Multi Channel multi-End Point destination are all considered multicast addressing methods.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SCREEN_ATTRIBUTES (0x93) |
|||||||
Command = SCREEN_ATTRIBUTES_GET (0x01) |
|||||||
2.2.96.2. Screen Attributes Report Command¶
This command is used to advertise the screen attributes.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SCREEN_ATTRIBUTES (0x93) |
|||||||
Command = SCREEN_ATTRIBUTES_REPORT (0x02) |
|||||||
Reserved |
Number of Lines |
||||||
Characters per Line |
|||||||
Line Buffer Size |
|||||||
Character Encoding |
|||||||
Reserved
This field MUST be set to 0 by a sending node and MUST be ignored by a receiving node.
Number of Lines (5 bits)
Number of lines the screen supports (1..16).
Characters per Line (8 bits)
Number of characters the screen supports on each line (1..255).
Line Buffer Size (8 bits)
Number of characters the line buffer supports for each line (1..255). Size of line buffer will always be equal or larger than the number of visual characters per line. The text will typically scroll in case it is larger than the number of visual characters.
Character Encoding (8 bits)
The screen supports the following numerical representations of a character:
Bit Map |
Description |
|---|---|
Bit 0 |
Supports ASCII codes if the bit is 1 and the opposite if 0. See ASCII Codes (values 128-255 are ignored) |
Bit 1 |
Supports ASCII codes and Extended ASCII codes if the bit is 1 and the opposite if 0. See ASCII Codes. |
Bit 2 |
Supports Unicode UTF-16 if the bit is 1 and the opposite if 0. |
Bit 3 |
Supports ASCII codes and Player codes, see ASCII Codes (undefined values are ignored) |
All other bits are reserved and MUST be set to zero by a sending node. Reserved bits MUST be ignored by a receiving node.