-
Notifications
You must be signed in to change notification settings - Fork 2
/
serial_protocol.txt
198 lines (156 loc) · 8.67 KB
/
serial_protocol.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
General:
55 AA (Start of message) xx (length) xx (type) xx (command) xxxxxx xx (checksum2) xx (checksum1)
Length = command to end (without checksum)
xx = unknown
--------------------------------------------------------------------------------
Known stuff:
55 AA 07 25 60 xx xx throttle break xx xx ck2 ck1
55 AA 09 27 63 xx xx throttle break xx xx xx xx ck2 ck1
55 AA 0b 28 6d xx ECO batteryPoints light xx speed2 speed1 xx(?beep request) xx Battery% ck2 ck1
55 AA 04 22 01 xx maxWeehlspeed2 maxWeehlspeed1 ck2 ck1
55 AA 04 22 01 F2 F3 02 F1 FD --> 755 rpm = 30.60 kmh
55 aa 04 22 01 F2 F8 01 ED FD --> 504 rpm = 20.43 kmh
set eco mode on/off
01 = 0n
55 AA 04 22 01 7C 01 00 5B FF
00 = 0ff
55 AA 04 22 01 7C 00 00 5C FF
set lock mode on/off
01 = 0n
55 AA 04 22 01 7D 01 00 5A FF
00 = 0ff
55 AA 04 22 01 7D 00 00 5B FF
set light on/off
01 = 0n
55 AA 04 22 01 F0 01 00 E7 FE
00 = 0ff
55 AA 04 22 01 F0 00 00 E8 FE
two different messages, beginns with 55 AA 34 11 33 or 55 AA 34 11 33 28!!!
55 AA 34 11 33 00 93 6B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 93 0E 18 00 00 00 00 00 BF FD
55 AA 34 11 33 t3 t2 t1 xx xx xx xx xx xx xx xx xx xx xx xx tx ty tz xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx v2 v1 c2 c1 xx xx xx xx ck2 ck1
t1-3 = total time in s
tx-tz = actual time in s
v1-2 = /100 = voltage in V
c1-2 = /100 = current in A
55 AA 34 11 33 28 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 00 00 6F 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D4 52 D4 FB
55 AA 34 11 33 xx xx xx xx xx xx m4 m3 m2 m1 xx xx xx xx xx xx xx BB xx xx xx xx xx xx xx xx xx xx xx o4 o3 o2 o1 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx t3 t2 t1 ck2 ck1
m1-m4 = mainboard version
o1-o4 = odometer in meter
t1-3 = total time in s
BB = battery in %
-----------------------
Unknown stuf:
55 aa 07 25 64 1f 1c 03 28 28 00 e1 fe
55 aa 07 25 64 1f 1c 03 throttle break 00 e1 fe
55 AA 07 25 64 E9 10 03 28 28 00 23 FE
55 AA 07 25 64 7E 12 03 28 28 00 8C FE
55 AA 07 25 64 1F 1C 03 28 28 00 E1 FE
55 AA 07 25 64 EA 0A 03 28 28 00 28 FE
??? request 55 AA 34 11 33 messages
55 aa 03 23 00 31 18 90 ff
55 AA 03 23 00 31 18 90 FF
22 - set settings?
set max rpm speed
55 AA 04 22 01 F2 DA 02 0A FE
eco mode on/off
01 = 0n
55 AA 04 22 01 7C 01 00 5B FF
00 = 0ff
55 AA 04 22 01 7C 00 00 5C FF
lock mode on/off
01 = 0n
55 AA 04 22 01 7D 01 00 5A FF
00 = 0ff
55 AA 04 22 01 7D 00 00 5B FF
light on/off
01 = 0n
55 AA 04 22 01 F0 01 00 E7 FE
00 = 0ff
55 AA 04 22 01 F0 00 00 E8 FE
-------------------------------------
21 - ?request data for info pages
55 AA 04 21 03 6A 80 04 E9 FE
55 AA 04 21 03 EF 00 00 E8 FE --> allways 3x times with short distance
-------------------------------------
mostly at Start, maybe bluetooth connected/connect?
55 AA 06 F4 06 30 1C 81 18 B5 65 FD
-------------------------------------
mostly while check data in app
55 AA 08 25 07 BD 6F 00 00 00 00 00 9F FE
55AA082507BD4D0000000000C1FE
55AA082507BD4E0000000000C0FE
55AA082507BD4F0000000000BFFE
55AA082507BD500000000000BEFE
55AA082507BD460000000000C8FE
-------------------------------------
55 AA 0A 2B 09 F8 F8 01 7A 01 00 00 20 4E E7 FC
55 AA 0A 2B 09 F8 F3 02 7A 01 00 00 20 4E EB FC
55 AA 0A 2B 09 F8 DA 02 7A 01 00 00 20 4E 04 FD
55 AA 0A 2B 09 F8 F3 02 7A 01 00 00 20 4E EB FC
55 AA 0A 2B 09 F8 FB 00 7A 01 00 00 20 4E E5 FC
55 AA 0A 2B 09 F8 79 01 7A 01 00 00 20 4E 66 FD
55 AA 0A 2B 09 F8 79 01 7A 01 00 00 20 4E 66 FD
55 AA 0A 2B 09 F8 75 02 7A 01 00 00 20 4E 69 FD
-------------------------------------
55 AA 0C 29 0B 71 00 00 01 00 00 00 00 00 00 00 4D FF
55 AA 0C 29 0B E5 00 00 F8 01 7A 01 00 00 20 4E F8 FC
55 AA 0C 29 0B 71 00 00 01 00 00 00 00 00 00 00 4D FF
55 AA 0C 29 0B E5 00 00 F8 01 7A 01 00 00 20 4E F8 FC
55 AA 0C 29 0B E5 00 00 F8 01 7A 01 00 00 20 4E F8 FC
55 AA 0C 29 0B 71 00 00 01 00 00 00 00 00 00 00 4D FF
55 AA 0C 29 0B 71 00 00 01 00 00 00 01 00 00 00 4C FF
55 AA 0C 29 0B 71 00 00 01 00 00 00 00 00 00 00 4D FF
55 AA 0C 29 0B 71 00 00 01 00 00 00 00 00 00 00 4D FF
-------------------------------------
???? 20.000
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F3 02 7A 01 00 00 20 4E E9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F3 02 7A 01 00 00 20 4E E9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F3 02 7A 01 00 00 20 4E E9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 FB 00 7A 01 01 00 20 4E E2 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 FB 00 7A 01 00 00 20 4E E3 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F3 02 7A 01 00 00 20 4E E9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F3 02 7A 01 00 00 20 4E E9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 79 01 7A 01 00 00 20 4E 64 FC
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 75 02 7A 01 00 00 20 4E 67 FC
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 68 42 A9 FB
55 AA 12 33 11 FC 00 00 00 00 E6 00 00 00 F8 01 7A 01 00 00 20 4E E5 FB
-------------------------------------
55 AA 14 31 13 69 00 00 01 00 00 00 00 00 00 00 00 00 78 80 00 00 00 00 45 FE
55 AA 14 31 13 69 00 00 01 00 00 00 00 00 00 00 00 00 78 80 00 00 00 00 45 FE
55 AA 14 31 13 69 00 00 01 00 00 00 00 00 00 00 00 00 78 80 00 00 00 00 45 FE
55 AA 14 31 13 69 00 00 01 00 00 00 00 00 00 00 00 00 78 80 00 00 00 00 45 FE
55 AA 14 31 13 69 00 00 01 00 00 00 00 00 00 00 00 00 78 80 00 00 00 00 45 FE
55 AA 14 31 13 69 00 00 01 00 00 00 01 00 00 00 00 00 78 80 00 00 00 00 44 FE
-------------------------------------
akku?
55 AA 1E 3F 1D 06 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 CA FD
55 AA 1E 3F 1D 06 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 CA FD
55 AA 1E 3F 1D 06 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3C 00 00 00 00 00 00 00 00 00 00 00 C9 FD
-------------------------------------
two different messages!!!
55 AA 34 11 33 t3 t2 t1 xx xx xx xx xx xx xx xx xx xx xx xx tx ty tz xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx v2 v1 c2 c1 xx xx xx xx ck2 ck1
t1-3 = total time in s
tx-tz = actual time in s
v1-2 = /100 = voltage in V
c1-2 = /100 = current in A
55 AA 34 11 33 00 93 6B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 93 0E 18 00 00 00 00 00 BF FD
55 AA 34 11 33 00 D3 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BA 0E 00 00 00 00 00 00 80 FD
55 AA 34 11 33 00 D5 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BA 0E 01 00 00 00 00 00 7B FD
55 AA 34 11 33 00 D4 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BA 0E 01 00 00 00 00 00 7D FD
55 AA 34 11 33 00 4F 6B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 93 0E 00 00 00 00 00 00 11 FE
55 AA 34 11 33 xx xx xx xx xx xx m4 m3 m2 m1 xx xx xx xx xx xx xx BB xx xx xx xx xx xx xx xx xx xx xx o4 o3 o2 o1 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx t3 t2 t1 ck2 ck1
m1-m4 = mainboard version
o1-o4 = odometer in meter
t1-3 = total time in s
BB = battery in %
Mainboard akku odometer
55 AA 34 11 33 28 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 00 00 6F 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D4 52 D4 FB
55 AA 34 11 33 28 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 00 00 6F 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D3 52 D5 FB
55 AA 34 11 33 28 78 80 00 00 00 00 7D 02 03 00 00 00 00 00 00 00 3B 00 00 00 00 00 00 00 00 00 00 00 00 00 6F 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D5 52 D3 FB