Difference between revisions of "Message Format"
Jump to navigation
Jump to search
(Created page with "Messages are parsed bytewise, if the 8th bit is set it is a special CMD. == Commands == A byte is converted to the CMD opcode like this ( Byte << 1 ) & 0x7F {| class="w...") |
(No difference)
|
Revision as of 10:18, 10 April 2012
Messages are parsed bytewise, if the 8th bit is set it is a special CMD.
Commands
A byte is converted to the CMD opcode like this
( Byte << 1 ) & 0x7F
Opcode | Length (byte) | Function | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | 1 | Resets the text frame | ||||||||||||
0x02 | 1 | Automatically resizes the text frame | ||||||||||||
0x04 | 6 | Text frame settings
| ||||||||||||
0x08 | 2 |
| ||||||||||||
0x0E | 2 | Control text type sound
| ||||||||||||
0x10 | 2 | Control text type speed
|
Non-Command Bytes
Value | Char |
---|---|
0x20 | (space) |
0x3B | ü |
0x3C | ä |
0x3D | Ä |
0x3E | ö |
0x3F | Ö |
0x5F | ß |
0x60 | ? |
0x61 | ( |
0x62 | ) |
0x6D | ! |
0x6E | , |
0x6F | : |
0x76 | \ |
0x77 | = |
0x7C | - |
0x7F | . |
The other values are converted by adding 0x20 to them.