Browse Source

Protocol documentation cleanup and conversion to markdown

Maurizio Porrato 2 months ago
parent
commit
8d85142a57
2 changed files with 72 additions and 101 deletions
  1. 72
    0
      protocol.md
  2. 0
    101
      protocol.txt

+ 72
- 0
protocol.md View File

@@ -0,0 +1,72 @@
1
+Eufy RoboVac 11s IR protocol
2
+============================
3
+
4
+## Timings
5
+
6
+| Timings  |  High  |  Low  |
7
+|---------:|-------:|------:|
8
+| Preamble |    3ms |   3ms |
9
+|Logical 0 |  400µs | 600µs |
10
+|Logical 1 |  400µs | 1.6ms |
11
+|  Trailer |  400µs |  20ms |
12
+
13
+No carrier modulation.
14
+
15
+Frame: (Preamble+48bits+Trailer)*3
16
+
17
+Format: 68CCHHMMSSKK (Hex, MSB first)
18
+
19
+## Frame contents
20
+
21
+Section| Description
22
+:-----:|:-------------
23
+    CC | command
24
+    HH | hour
25
+    MM | minute
26
+    SS | schedule (in quarters of an hour from midnight, 0xff=off)
27
+    KK | checksum (sum of all bytes in the frame modulo 256)
28
+
29
+  CC  | Command
30
+:----:|:--------
31
+  1c  | Max power
32
+  1d  | BoostIQ
33
+  1e  | Standard power
34
+  2f  | Forward
35
+  3f  | Turn CCW
36
+  4f  | Stop cleaning
37
+  5d  | Auto cleaning
38
+  6f  | Turn CW
39
+  7f  | Backward
40
+  8c  | Spot cleaning
41
+  9c  | Edge cleaning
42
+  ad  | Room cleaning
43
+  bf  | Set time
44
+  cf  | Set schedule
45
+  df  | Clear schedule
46
+  ef  | Return to base
47
+
48
+## Examples
49
+
50
+|     Hex      |  Description
51
+|:------------:|:---------------------------
52
+| 685d0f272823 | Start
53
+| 684f0f272815 | Stop
54
+| 68bf11242884 | Time (5:36pm)
55
+| 68bf112b288b | Time (5:43pm)
56
+| 68cf13202892 | Schedule 10:00am
57
+| 68cf132b299e | Schedule 10:15am
58
+| 68cf13305fd9 | Schedule 11:45pm
59
+| 68df1336ff8f | Schedule off
60
+| 685d1406ffde | Start
61
+| 681c1419ffb0 | Power (BoostIQ->Max)
62
+| 681e141effb7 | Power (Max->Standard)
63
+| 681d141effb6 | Power (Standard->BoostIQ)
64
+| 682f142effd8 | Up
65
+| 687f142eff28 | Down
66
+| 683f142effe8 | Left
67
+| 686f142eff18 | Right
68
+| 688c1504ff0c | Spot
69
+| 689c1508ff20 | Edge
70
+| 68ad150cff35 | Room
71
+| 68ef1510ff7b | Base
72
+

+ 0
- 101
protocol.txt View File

@@ -1,101 +0,0 @@
1
-Eufy RoboVac 11s IR protocol
2
-============================
3
-
4
- Preamble: H:3ms   L:3ms
5
-Logical 0: H:400µs L:600µs
6
-Logical 1: H:400µs L:1.6ms
7
-  Trailer: H:400µs L:20ms
8
-
9
-No carrier modulation.
10
-
11
-Frame: (Preamble+48bits+Trailer)*3
12
-
13
-Format: 68CCHHMMSSKK (Hex, MSB first)
14
-	
15
-    CC: command
16
-    HH: hour
17
-    MM: minute
18
-    SS: schedule (in quarters of an hour from midnight, 0xff=off)
19
-    KK: checksum (sum of all bytes in the frame modulo 256)
20
-
21
-  CC  | Command
22
-------+---------
23
-  1c  | Max power
24
-  1d  | BoostIQ
25
-  1e  | Standard power
26
-  2f  | Forward
27
-  3f  | Turn CCW
28
-  4f  | Stop cleaning
29
-  5d  | Auto cleaning
30
-  6f  | Turn CW
31
-  7f  | Backward
32
-  8c  | Spot cleaning
33
-  9c  | Edge cleaning
34
-  ad  | Room cleaning
35
-  bf  | Set time
36
-  cf  | Set schedule
37
-  df  | Clear schedule
38
-  ef  | Return to base
39
-
40
-Examples:
41
-
42
-	0110 1000 0101 1101 0000 1111 0010 0111 0010 1000 0010 0011 Start
43
-	685d0f272823
44
-
45
-	0110 1000 0100 1111 0000 1111 0010 0111 0010 1000 0001 0101 Stop
46
-	684f0f272815
47
-
48
-	0110 1000 1011 1111 0001 0001 0010 0100 0010 1000 1000 0100 Time (5:36pm)
49
-	68bf11242884
50
-
51
-	0110 1000 1011 1111 0001 0001 0010 1011 0010 1000 1000 1011 Time (5:43pm)
52
-	68bf112b288b
53
-
54
-	0110 1000 1100 1111 0001 0011 0010 0000 0010 1000 1001 0010 Schedule 10:00am
55
-	68cf13202892
56
-
57
-	0110 1000 1100 1111 0001 0011 0010 1011 0010 1001 1001 1110 Schedule 10:15am
58
-	68cf132b299e
59
-
60
-	0110 1000 1100 1111 0001 0011 0011 0000 0101 1111 1101 1001 Schedule 11:45pm
61
-	68cf13305fd9
62
-
63
-	0110 1000 1101 1111 0001 0011 0011 0110 1111 1111 1000 1111 Schedule off
64
-	68df1336ff8f
65
-
66
-	0110 1000 0101 1101 0001 0100 0000 0110 1111 1111 1101 1110 Start
67
-	685d1406ffde
68
-
69
-	0110 1000 0001 1100 0001 0100 0001 1001 1111 1111 1011 0000 Power (BoostIQ->Max)
70
-	681c1419ffb0
71
-
72
-	0110 1000 0001 1110 0001 0100 0001 1110 1111 1111 1011 0111 Power (Max->Standard)
73
-	681e141effb7
74
-
75
-	0110 1000 0001 1101 0001 0100 0001 1110 1111 1111 1011 0110 Power (Standard->BoostIQ)
76
-	681d141effb6
77
-
78
-	0110 1000 0010 1111 0001 0100 0010 1110 1111 1111 1101 1000 Up
79
-	682f142effd8
80
-
81
-	0110 1000 0111 1111 0001 0100 0010 1110 1111 1111 0010 1000 Down
82
-	687f142eff28
83
-
84
-	0110 1000 0011 1111 0001 0100 0010 1110 1111 1111 1110 1000 Left
85
-	683f142effe8
86
-
87
-	0110 1000 0110 1111 0001 0100 0010 1110 1111 1111 0001 1000 Right
88
-	686f142eff18
89
-
90
-	0110 1000 1000 1100 0001 0101 0000 0100 1111 1111 0000 1100 Spot
91
-	688c1504ff0c
92
-
93
-	0110 1000 1001 1100 0001 0101 0000 1000 1111 1111 0010 0000 Edge
94
-	689c1508ff20
95
-
96
-	0110 1000 1010 1101 0001 0101 0000 1100 1111 1111 0011 0101 Room
97
-	68ad150cff35
98
-
99
-	0110 1000 1110 1111 0001 0101 0001 0000 1111 1111 0111 1011 Base
100
-	68ef1510ff7b
101
-

Loading…
Cancel
Save