forked from phhusson/androidtv-remote-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreverse.txt
33 lines (28 loc) · 819 Bytes
/
reverse.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[0] = version = 1; [1] = cmd ; [2] = MSB len, [3] = LSB len
min sizes = {
[0] = 12;
[2] = 16;
[3] = 5;
[5] = 0;
[6] = 0;
[7] = 0;
[8] = 4;
[9] = 1;
[10] = 1;
}
cmd = 0 ====> int + int + byte + byte + byte + byte + optional { byte length + string }
configure { width, height, maxPointers, inputMode }
cmd = 14 ===> voice packet (whichever size you want)
cmd = 21 ====> PING? PONG? Disqble watchdog?
cmd = 2 ==> handle key long(ignored) + int + int
cmd = 3 ===> pointer
cmd = 18 => subcmds 1-16 IME related stuff like getSelectedText
cmd = 19 => {byte} client became interactive
cmd = 28 => Take bug report
cmd = 29 = cancel bug report
cmd = 11 = voice start
cmd = 12 = voice stop
cmd = 13 {int,int,int} = voice config
cmd = 15 string Input
cmd = 16: stirng Intent
cmd = 36, 37==> Related to Setup-Wizard