-
Notifications
You must be signed in to change notification settings - Fork 231
Mitsubishi protocol
SwiCago edited this page Mar 8, 2017
·
13 revisions
BYTE NUMBER | DESCRIPTION | POSSIBLE VALUES | EXAMPLE |
---|---|---|---|
00 | Always 0xfc | 0xfc | |
01 | Get (0x42) or Set (0x41) | 0x41, 0x61, 0x42, 0x62 | |
02 | Always 0x01 | 0x01 | |
03 | Always 0x30 | 0x30 | |
04 | Always 0x10 | 0x10 | |
05 | COMMAND SET | 0x01 - 0x09 | |
06 | CONTROL BYTE 1 | 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 | |
07 | CONTROL BYTE 2 | 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 | |
08 | DATA | 0x00...0xff | |
09 | DATA | 0x00...0xff | |
10 | DATA | 0x00...0xff | |
11 | DATA | 0x00...0xff | |
12 | DATA | 0x00...0xff | |
13 | DATA | 0x00...0xff | |
14 | DATA | 0x00...0xff | |
15 | DATA | 0x00...0xff | |
16 | DATA | 0x00...0xff | |
17 | DATA | 0x00...0xff | |
18 | DATA | 0x00...0xff | |
19 | DATA | 0x00...0xff | |
20 | DATA | 0x00...0xff | |
21 | CHECKSUM | 0x00...0xff |
#Example packets
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FC | GET/SET | 01 | 30 | 10 | COMMAND SET | CONTROL BYTE 1 | CONTROL BYTE 1 | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | DATA | CHECKSUM |
0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 |