从汽车

时间:2018-06-01 12:38:09

标签: hash reverse-engineering checksum crc

我正在尝试对汽车方向盘产生的CAN总线代码进行逆向工程。我对一条信息感兴趣,这条信息包含有关按下方向盘按钮的信息。我已经为许多不同的汽车做过这个,但这个是特别的(?) 我发现保存数据的消息ID为0x3D4。因此,我使用/不使用方向盘按钮的不同组合多次记录此特定消息。

汽车的工作方式(大部分时间)是按住按钮时单个位将从0切换到1。释放按钮后返回0。此消息的DLC为8,因此可能有足够的空间容纳64个按钮。 现在对于这辆车,他们使用了第二个字节的4位来计数从0到F的计数器。第一个字节是引起问题的字节。我不明白它是如何生成的。它似乎依赖于其他字节的值,但不遵循标准的CRC算法......似乎它还取决于字节的位置......按下汽车中的按钮会改变一点然后改变第一个字节值的数据。如果我在不改变第一个字节的情况下向汽车生成假命令,汽车将不会对其作出反应。

我想知道如何生成第一个字节,以便我自己生成它。

DLC:8

CAN总线高速500kb / s

CA 0E 80 00 00 04 00 00    
1F 0F 80 00 00 04 00 00    
ED 00 80 00 00 04 00 00    
4A 01 81 00 00 04 00 00    
01 02 81 00 00 04 00 00    
4C 03 81 00 00 04 00 00    
DC 04 81 00 00 04 00 00    
37 05 81 00 00 04 00 00    
1E 06 81 00 00 04 00 00    
8B 07 80 00 00 04 00 00    
25 08 80 00 00 04 00 00   
70 09 80 00 00 04 00 00    
6B 0A 80 00 00 04 00 00    
9B 0B 81 00 00 04 00 00
BE 0C 81 00 00 04 00 00
41 0D 81 00 00 04 00 00    
3E 0E 81 00 00 04 00 00    
1F 0F 80 00 00 04 00 00    
ED 00 80 00 00 04 00 00    
BE 01 80 00 00 04 00 00    
F5 02 80 00 00 04 00 00    
B8 03 80 00 00 04 00 00

我还发现以下消息共享相同的第一个字节:

7F 2D 84 00 00 04 00 00
7F 07 81 00 00 04 00 00
7F 03 82 00 00 04 00 00

4C 03 81 00 00 04 00 00
4C 00 84 00 00 04 00 00
4C 07 82 00 00 04 00 00

BE 0C 81 00 00 04 00 00
BE 01 80 00 00 04 00 00
BE 0F 84 00 00 04 00 00
BE 23 88 00 00 04 00 00

更多数据:

70  09  80  00  00  04  00  00
6B  0A  80  00  00  04  00  00
9B  0B  81  00  00  04  00  00
BE  0C  81  00  00  04  00  00
41  0D  81  00  00  04  00  00
3E  0E  81  00  00  04  00  00
EB  0F  81  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
F5  02  80  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
04  05  82  00  00  04  00  00
4B  06  84  00  00  04  00  00
2A  07  84  00  00  04  00  00
26  18  84  00  00  04  00  00
73  19  84  00  00  04  00  00
68  1A  84  00  00  04  00  00
6C  1B  84  00  00  04  00  00
49  1C  84  00  00  04  00  00
B6  1D  84  00  00  04  00  00
C9  1E  84  00  00  04  00  00
BE  0F  84  00  00  04  00  00
4C  00  84  00  00  04  00  00
1F  01  84  00  00  04  00  00
54  02  84  00  00  04  00  00
19  03  84  00  00  04  00  00
89  04  84  00  00  04  00  00
09  25  84  00  00  04  00  00
20  26  84  00  00  04  00  00
41  27  84  00  00  04  00  00
EF  28  84  00  00  04  00  00
BA  29  84  00  00  04  00  00
A1  2A  84  00  00  04  00  00
A5  2B  84  00  00  04  00  00
80  2C  84  00  00  04  00  00
7F  2D  84  00  00  04  00  00
00  2E  84  00  00  04  00  00
D5  2F  84  00  00  04  00  00
27  20  84  00  00  04  00  00
74  21  84  00  00  04  00  00
3F  22  84  00  00  04  00  00
19  03  84  00  00  04  00  00
2B  14  84  00  00  04  00  00
C0  15  84  00  00  04  00  00
E9  16  84  00  00  04  00  00
88  17  84  00  00  04  00  00
26  18  84  00  00  04  00  00
73  19  84  00  00  04  00  00
68  1A  84  00  00  04  00  00
6C  1B  84  00  00  04  00  00
49  1C  84  00  00  04  00  00
B6  1D  84  00  00  04  00  00
C9  1E  84  00  00  04  00  00
1C  1F  84  00  00  04  00  00
EE  10  84  00  00  04  00  00
BD  11  84  00  00  04  00  00
F6  12  84  00  00  04  00  00
BB  13  84  00  00  04  00  00
2B  14  84  00  00  04  00  00
0C  15  88  00  00  04  00  00
25  16  88  00  00  04  00  00
44  17  88  00  00  04  00  00
EA  18  88  00  00  04  00  00
BF  19  88  00  00  04  00  00
A4  1A  88  00  00  04  00  00
02  0B  88  00  00  04  00  00
27  0C  88  00  00  04  00  00
D8  0D  88  00  00  04  00  00
CC  2E  88  00  00  04  00  00
19  2F  88  00  00  04  00  00
EB  20  88  00  00  04  00  00
B8  21  88  00  00  04  00  00
F3  22  88  00  00  04  00  00
BE  23  88  00  00  04  00  00
2E  24  88  00  00  04  00  00
C5  25  88  00  00  04  00  00
EC  26  88  00  00  04  00  00
8D  27  88  00  00  04  00  00
23  28  88  00  00  04  00  00
76  29  88  00  00  04  00  00
6D  2A  88  00  00  04  00  00
69  2B  88  00  00  04  00  00
4C  2C  88  00  00  04  00  00
B3  2D  88  00  00  04  00  00
CC  2E  88  00  00  04  00  00
72  0F  88  00  00  04  00  00
80  00  88  00  00  04  00  00
D3  01  88  00  00  04  00  00
98  02  88  00  00  04  00  00
D5  03  88  00  00  04  00  00
45  04  88  00  00  04  00  00
AE  05  88  00  00  04  00  00
4B  06  84  00  00  04  00  00
2A  07  84  00  00  04  00  00
E2  08  82  00  00  04  00  00
B7  09  82  00  00  04  00  00
AC  0A  82  00  00  04  00  00
A8  0B  82  00  00  04  00  00
8D  0C  82  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
D8  0F  82  00  00  04  00  00
2A  00  82  00  00  04  00  00
79  01  82  00  00  04  00  00
32  02  82  00  00  04  00  00
7F  03  82  00  00  04  00  00
EF  04  82  00  00  04  00  00
04  05  82  00  00  04  00  00
2D  06  82  00  00  04  00  00
4C  07  82  00  00  04  00  00
E2  08  82  00  00  04  00  00
B7  09  82  00  00  04  00  00
AC  0A  82  00  00  04  00  00
A8  0B  82  00  00  04  00  00
8D  0C  82  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
D8  0F  82  00  00  04  00  00
2A  00  82  00  00  04  00  00
79  01  82  00  00  04  00  00
32  02  82  00  00  04  00  00
7F  03  82  00  00  04  00  00
EF  04  82  00  00  04  00  00
04  05  82  00  00  04  00  00
2D  06  82  00  00  04  00  00

我尝试了所有可用的按钮时记录了以下数据。 +几个按钮组合。

76  00  A0  00  00  04  00  00
25  01  A0  00  00  04  00  00
6E  02  A0  00  00  04  00  00
23  03  A0  00  00  04  00  00
B3  04  A0  00  00  04  00  00
58  05  A0  00  00  04  00  00
71  06  A0  00  00  04  00  00
10  07  A0  00  00  04  00  00
BE  08  A0  00  00  04  00  00
EB  09  A0  00  00  04  00  00
04  0A  A1  00  00  04  00  00
00  0B  A1  00  00  04  00  00
25  0C  A1  00  00  04  00  00
DA  0D  A1  00  00  04  00  00
A5  0E  A1  00  00  04  00  00
84  0F  A0  00  00  04  00  00
76  00  A0  00  00  04  00  00
25  01  A0  00  00  04  00  00
6E  02  A0  00  00  04  00  00
23  03  A0  00  00  04  00  00
B3  04  A0  00  00  04  00  00
9F  05  A2  00  00  04  00  00
D0  06  A4  00  00  04  00  00
B1  07  A4  00  00  04  00  00
D3  08  A8  00  00  04  00  00
86  09  A8  00  00  04  00  00
9D  0A  A8  00  00  04  00  00
99  0B  A8  00  00  04  00  00
70  0C  A4  00  00  04  00  00
8F  0D  A4  00  00  04  00  00
F0  0E  A4  00  00  04  00  00
25  0F  A4  00  00  04  00  00
B1  00  A2  00  00  04  00  00
E2  01  A2  00  00  04  00  00
A9  02  A2  00  00  04  00  00
23  03  A0  00  00  04  00  00
B3  04  A0  00  00  04  00  00
C3  05  80  00  00  04  00  00
30  06  90  00  00  04  00  00
51  07  90  00  00  04  00  00
25  08  80  00  00  04  00  00
70  09  80  00  00  04  00  00
6B  0A  80  00  00  04  00  00
6F  0B  80  00  00  04  00  00
4A  0C  80  00  00  04  00  00
B5  0D  80  00  00  04  00  00
CA  0E  80  00  00  04  00  00
1F  0F  80  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
01  02  81  00  00  04  00  00
4C  03  81  00  00  04  00  00
DC  04  81  00  00  04  00  00
37  05  81  00  00  04  00  00
1E  06  81  00  00  04  00  00
7F  07  81  00  00  04  00  00
D1  08  81  00  00  04  00  00
70  09  80  00  00  04  00  00
6B  0A  80  00  00  04  00  00
6F  0B  80  00  00  04  00  00
4A  0C  80  00  00  04  00  00
B5  0D  80  00  00  04  00  00
CA  0E  80  00  00  04  00  00
1F  0F  80  00  00  04  00  00
2A  00  82  00  00  04  00  00
79  01  82  00  00  04  00  00
32  02  82  00  00  04  00  00
7F  03  82  00  00  04  00  00
EF  04  82  00  00  04  00  00
04  05  82  00  00  04  00  00
2D  06  82  00  00  04  00  00
2A  07  84  00  00  04  00  00
84  08  84  00  00  04  00  00
D1  09  84  00  00  04  00  00
CA  0A  84  00  00  04  00  00
CE  0B  84  00  00  04  00  00
27  0C  88  00  00  04  00  00
D8  0D  88  00  00  04  00  00
A7  0E  88  00  00  04  00  00
72  0F  88  00  00  04  00  00
4C  00  84  00  00  04  00  00
1F  01  84  00  00  04  00  00
32  02  82  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
C3  05  80  00  00  04  00  00
71  06  A0  00  00  04  00  00
10  07  A0  00  00  04  00  00
BE  08  A0  00  00  04  00  00
69  09  C0  00  00  04  00  00
72  0A  C0  00  00  04  00  00
F4  0B  A0  00  00  04  00  00
D1  0C  A0  00  00  04  00  00
2E  0D  A0  00  00  04  00  00
51  0E  A0  00  00  04  00  00
84  0F  A0  00  00  04  00  00
76  00  A0  00  00  04  00  00
25  01  A0  00  00  04  00  00
6E  02  A0  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
C3  05  80  00  00  04  00  00
EA  06  80  00  00  04  00  00
8B  07  80  00  00  04  00  00
25  08  80  00  00  04  00  00
0F  09  80  04  00  04  00  00
14  0A  80  04  00  04  00  00
B8  0B  80  06  00  04  00  00
9D  0C  80  06  00  04  00  00
62  0D  80  06  00  04  00  00
1D  0E  80  06  00  04  00  00
C8  0F  80  06  00  04  00  00
3A  00  80  06  00  04  00  00
C1  01  80  04  00  04  00  00
8A  02  80  04  00  04  00  00
C7  03  80  04  00  04  00  00
57  04  80  04  00  04  00  00
BC  05  80  04  00  04  00  00
95  06  80  04  00  04  00  00
F4  07  80  04  00  04  00  00
5A  08  80  04  00  04  00  00
0F  09  80  04  00  04  00  00
14  0A  80  04  00  04  00  00
10  0B  80  04  00  04  00  00
35  0C  80  04  00  04  00  00
CA  0D  80  04  00  04  00  00
B5  0E  80  04  00  04  00  00
60  0F  80  04  00  04  00  00
92  00  80  04  00  04  00  00
C1  01  80  04  00  04  00  00
8A  02  80  04  00  04  00  00
C7  03  80  04  00  04  00  00
57  04  80  04  00  04  00  00
BC  05  80  04  00  04  00  00
95  06  80  04  00  04  00  00
F4  07  80  04  00  04  00  00
5A  08  80  04  00  04  00  00
0F  09  80  04  00  04  00  00
14  0A  80  04  00  04  00  00
10  0B  80  04  00  04  00  00
35  0C  80  04  00  04  00  00
CA  0D  80  04  00  04  00  00
B5  0E  80  04  00  04  00  00
60  0F  80  04  00  04  00  00
92  00  80  04  00  04  00  00
C1  01  80  04  00  04  00  00
8A  02  80  04  00  04  00  00
C7  03  80  04  00  04  00  00
57  04  80  04  00  04  00  00
BC  05  80  04  00  04  00  00
95  06  80  04  00  04  00  00
23  07  80  02  00  04  00  00
8D  08  80  02  00  04  00  00
D8  09  80  02  00  04  00  00
C3  0A  80  02  00  04  00  00
C7  0B  80  02  00  04  00  00
E2  0C  80  02  00  04  00  00
1D  0D  80  02  00  04  00  00
62  0E  80  02  00  04  00  00
B7  0F  80  02  00  04  00  00
45  00  80  02  00  04  00  00
16  01  80  02  00  04  00  00
5D  02  80  02  00  04  00  00
10  03  80  02  00  04  00  00
80  04  80  02  00  04  00  00
6B  05  80  02  00  04  00  00
42  06  80  02  00  04  00  00
23  07  80  02  00  04  00  00
25  08  80  00  00  04  00  00
70  09  80  00  00  04  00  00
6B  0A  80  00  00  04  00  00
6F  0B  80  00  00  04  00  00
4A  0C  80  00  00  04  00  00
1D  0D  80  02  00  04  00  00
B5  0E  80  04  00  04  00  00
60  0F  80  04  00  04  00  00
3A  00  80  06  00  04  00  00
69  01  80  06  00  04  00  00
22  02  80  06  00  04  00  00
6F  03  80  06  00  04  00  00
FF  04  80  06  00  04  00  00
14  05  80  06  00  04  00  00
3D  06  80  06  00  04  00  00
5C  07  80  06  00  04  00  00
F2  08  80  06  00  04  00  00
A7  09  80  06  00  04  00  00
BC  0A  80  06  00  04  00  00
B8  0B  80  06  00  04  00  00
9D  0C  80  06  00  04  00  00
62  0D  80  06  00  04  00  00
1D  0E  80  06  00  04  00  00
C8  0F  80  06  00  04  00  00
3A  00  80  06  00  04  00  00
69  01  80  06  00  04  00  00
22  02  80  06  00  04  00  00
6F  03  80  06  00  04  00  00
FF  04  80  06  00  04  00  00
14  05  80  06  00  04  00  00
3D  06  80  06  00  04  00  00
5C  07  80  06  00  04  00  00
F2  08  80  06  00  04  00  00
A7  09  80  06  00  04  00  00
BC  0A  80  06  00  04  00  00
10  0B  80  04  00  04  00  00
35  0C  80  04  00  04  00  00
1D  0D  80  02  00  04  00  00
62  0E  80  02  00  04  00  00
B7  0F  80  02  00  04  00  00
45  00  80  02  00  04  00  00
16  01  80  02  00  04  00  00
5D  02  80  02  00  04  00  00
10  03  80  02  00  04  00  00
80  04  80  02  00  04  00  00
6B  05  80  02  00  04  00  00
42  06  80  02  00  04  00  00
23  07  80  02  00  04  00  00
8D  08  80  02  00  04  00  00
D8  09  80  02  00  04  00  00
C3  0A  80  02  00  04  00  00
C7  0B  80  02  00  04  00  00
E2  0C  80  02  00  04  00  00
1D  0D  80  02  00  04  00  00
62  0E  80  02  00  04  00  00
B7  0F  80  02  00  04  00  00
45  00  80  02  00  04  00  00
16  01  80  02  00  04  00  00
5D  02  80  02  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
C3  05  80  00  00  04  00  00
EA  06  80  00  00  04  00  00
4C  07  82  00  00  04  00  00
E2  08  82  00  00  04  00  00
B7  09  82  00  00  04  00  00
AC  0A  82  00  00  04  00  00
A8  0B  82  00  00  04  00  00
8D  0C  82  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
D8  0F  82  00  00  04  00  00
2A  00  82  00  00  04  00  00
79  01  82  00  00  04  00  00
32  02  82  00  00  04  00  00
7F  03  82  00  00  04  00  00
EF  04  82  00  00  04  00  00
04  05  82  00  00  04  00  00
2D  06  82  00  00  04  00  00
4C  07  82  00  00  04  00  00
E2  08  82  00  00  04  00  00
B7  09  82  00  00  04  00  00
AC  0A  82  00  00  04  00  00
A8  0B  82  00  00  04  00  00
8D  0C  82  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
D8  0F  82  00  00  04  00  00
2A  00  82  00  00  04  00  00
79  01  82  00  00  04  00  00
32  02  82  00  00  04  00  00
7F  03  82  00  00  04  00  00
EF  04  82  00  00  04  00  00
04  05  82  00  00  04  00  00
2D  06  82  00  00  04  00  00
4C  07  82  00  00  04  00  00
E2  08  82  00  00  04  00  00
B7  09  82  00  00  04  00  00
AC  0A  82  00  00  04  00  00
A8  0B  82  00  00  04  00  00
8D  0C  82  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
1F  0F  80  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
57  12  80  00  00  04  00  00
1A  13  80  00  00  04  00  00
8A  14  80  00  00  04  00  00
61  15  80  00  00  04  00  00
48  16  80  00  00  04  00  00
29  17  80  00  00  04  00  00
87  18  80  00  00  04  00  00
D2  19  80  00  00  04  00  00
C9  1A  80  00  00  04  00  00
CD  1B  80  00  00  04  00  00
E8  1C  80  00  00  04  00  00
17  1D  80  00  00  04  00  00
68  1E  80  00  00  04  00  00
BD  1F  80  00  00  04  00  00
4F  10  80  00  00  04  00  00
1C  11  80  00  00  04  00  00
57  12  80  00  00  04  00  00
1A  13  80  00  00  04  00  00
8A  14  80  00  00  04  00  00
61  15  80  00  00  04  00  00
48  16  80  00  00  04  00  00
29  17  80  00  00  04  00  00
87  18  80  00  00  04  00  00
D2  19  80  00  00  04  00  00
C9  1A  80  00  00  04  00  00
CD  1B  80  00  00  04  00  00
E8  1C  80  00  00  04  00  00
17  1D  80  00  00  04  00  00
CA  0E  80  00  00  04  00  00
1F  0F  80  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
F5  02  80  00  00  04  00  00
B8  03  80  00  00  04  00  00
43  24  80  00  00  04  00  00
A8  25  80  00  00  04  00  00
81  26  80  00  00  04  00  00
E0  27  80  00  00  04  00  00
4E  28  80  00  00  04  00  00
1B  29  80  00  00  04  00  00
00  2A  80  00  00  04  00  00
04  2B  80  00  00  04  00  00
21  2C  80  00  00  04  00  00
DE  2D  80  00  00  04  00  00
A1  2E  80  00  00  04  00  00
74  2F  80  00  00  04  00  00
86  20  80  00  00  04  00  00
D5  21  80  00  00  04  00  00
9E  22  80  00  00  04  00  00
D3  23  80  00  00  04  00  00
43  24  80  00  00  04  00  00
A8  25  80  00  00  04  00  00
81  26  80  00  00  04  00  00
E0  27  80  00  00  04  00  00
4E  28  80  00  00  04  00  00
1B  29  80  00  00  04  00  00
00  2A  80  00  00  04  00  00
04  2B  80  00  00  04  00  00
21  2C  80  00  00  04  00  00
DE  2D  80  00  00  04  00  00
A1  2E  80  00  00  04  00  00
74  2F  80  00  00  04  00  00
86  20  80  00  00  04  00  00
D5  21  80  00  00  04  00  00
F5  02  80  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
C3  05  80  00  00  04  00  00
EA  06  80  00  00  04  00  00
8B  07  80  00  00  04  00  00
F3  48  80  00  00  04  00  00
A6  49  80  00  00  04  00  00
BD  4A  80  00  00  04  00  00
B9  4B  80  00  00  04  00  00
9C  4C  80  00  00  04  00  00
63  4D  80  00  00  04  00  00
1C  4E  80  00  00  04  00  00
C9  4F  80  00  00  04  00  00
3B  40  80  00  00  04  00  00
68  41  80  00  00  04  00  00
23  42  80  00  00  04  00  00
6E  43  80  00  00  04  00  00
FE  44  80  00  00  04  00  00
15  45  80  00  00  04  00  00
3C  46  80  00  00  04  00  00
5D  47  80  00  00  04  00  00
F3  48  80  00  00  04  00  00
A6  49  80  00  00  04  00  00
BD  4A  80  00  00  04  00  00
B9  4B  80  00  00  04  00  00
9C  4C  80  00  00  04  00  00
63  4D  80  00  00  04  00  00
1C  4E  80  00  00  04  00  00
C9  4F  80  00  00  04  00  00
3B  40  80  00  00  04  00  00
68  41  80  00  00  04  00  00
23  42  80  00  00  04  00  00
6E  43  80  00  00  04  00  00
FE  44  80  00  00  04  00  00
15  45  80  00  00  04  00  00
3C  46  80  00  00  04  00  00
5D  47  80  00  00  04  00  00
F3  48  80  00  00  04  00  00
A6  49  80  00  00  04  00  00
BD  4A  80  00  00  04  00  00
6F  0B  80  00  00  04  00  00
4A  0C  80  00  00  04  00  00
B5  0D  80  00  00  04  00  00
CA  0E  80  00  00  04  00  00
1F  0F  80  00  00  04  00  00
ED  00  80  00  00  04  00  00
3D  81  80  00  00  04  00  00
76  82  80  00  00  04  00  00
3B  83  80  00  00  04  00  00
AB  84  80  00  00  04  00  00
40  85  80  00  00  04  00  00
69  86  80  00  00  04  00  00
08  87  80  00  00  04  00  00
A6  88  80  00  00  04  00  00
F3  89  80  00  00  04  00  00
E8  8A  80  00  00  04  00  00
EC  8B  80  00  00  04  00  00
C9  8C  80  00  00  04  00  00
36  8D  80  00  00  04  00  00
49  8E  80  00  00  04  00  00
9C  8F  80  00  00  04  00  00
6E  80  80  00  00  04  00  00
3D  81  80  00  00  04  00  00
76  82  80  00  00  04  00  00
3B  83  80  00  00  04  00  00
AB  84  80  00  00  04  00  00
40  85  80  00  00  04  00  00
69  86  80  00  00  04  00  00
08  87  80  00  00  04  00  00
A6  88  80  00  00  04  00  00
F3  89  80  00  00  04  00  00
E8  8A  80  00  00  04  00  00
EC  8B  80  00  00  04  00  00
C9  8C  80  00  00  04  00  00
36  8D  80  00  00  04  00  00
49  8E  80  00  00  04  00  00
9C  8F  80  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
F5  02  80  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
04  05  82  00  00  04  00  00
4B  06  84  00  00  04  00  00
2A  07  84  00  00  04  00  00
84  08  84  00  00  04  00  00
D1  09  84  00  00  04  00  00
CA  0A  84  00  00  04  00  00
CE  0B  84  00  00  04  00  00
EB  0C  84  00  00  04  00  00
14  0D  84  00  00  04  00  00
6B  0E  84  00  00  04  00  00
BE  0F  84  00  00  04  00  00
4C  00  84  00  00  04  00  00
1F  01  84  00  00  04  00  00
54  02  84  00  00  04  00  00
19  03  84  00  00  04  00  00
89  04  84  00  00  04  00  00
62  05  84  00  00  04  00  00
4B  06  84  00  00  04  00  00
2A  07  84  00  00  04  00  00
84  08  84  00  00  04  00  00
D1  09  84  00  00  04  00  00
CA  0A  84  00  00  04  00  00
CE  0B  84  00  00  04  00  00
EB  0C  84  00  00  04  00  00
14  0D  84  00  00  04  00  00
6B  0E  84  00  00  04  00  00
BE  0F  84  00  00  04  00  00
4C  00  84  00  00  04  00  00
1F  01  84  00  00  04  00  00
54  02  84  00  00  04  00  00
19  03  84  00  00  04  00  00
89  04  84  00  00  04  00  00
62  05  84  00  00  04  00  00
4B  06  84  00  00  04  00  00
2A  07  84  00  00  04  00  00
48  08  88  00  00  04  00  00
1D  09  88  00  00  04  00  00
06  0A  88  00  00  04  00  00
02  0B  88  00  00  04  00  00
27  0C  88  00  00  04  00  00
D8  0D  88  00  00  04  00  00
A7  0E  88  00  00  04  00  00
72  0F  88  00  00  04  00  00
80  00  88  00  00  04  00  00
D3  01  88  00  00  04  00  00
98  02  88  00  00  04  00  00
D5  03  88  00  00  04  00  00
45  04  88  00  00  04  00  00
AE  05  88  00  00  04  00  00
87  06  88  00  00  04  00  00
E6  07  88  00  00  04  00  00
48  08  88  00  00  04  00  00
1D  09  88  00  00  04  00  00
06  0A  88  00  00  04  00  00
CE  0B  84  00  00  04  00  00
EB  0C  84  00  00  04  00  00
72  0D  82  00  00  04  00  00
0D  0E  82  00  00  04  00  00
D8  0F  82  00  00  04  00  00
ED  00  80  00  00  04  00  00
BE  01  80  00  00  04  00  00
F5  02  80  00  00  04  00  00
B8  03  80  00  00  04  00  00
28  04  80  00  00  04  00  00
C3  05  80  00  00  04  00  00
EA  06  80  00  00  04  00  00
8B  07  80  00  00  04  00  00

谢谢!

2 个答案:

答案 0 :(得分:0)

如果您的目标是向汽车发送任意已知代码,一种简单的方法是使用地图存储所有有效的第1个字节,并相应地发送。

如果您的目标是利用之前未使用的其他位(约5个字节),那么很遗憾,您提供的数据无法实现。一个原因是,即使我们知道用于生成第一个字节的算法,我们也无法知道~40个当前未使用的位的排序。

1个字节值的空间很小,只有256个。对于您要发送的任何代码,您可以尝试使用不同的第一个字节分别执行256次。如果任何人做了什么,那么可能就是这样。如果没有,那么该代码可能完全无效?

答案 1 :(得分:0)

我可以说它不是什么。第一个字节不是CRC,也不是GF(2)上提供的剩余位的任何线性组合。它可能是以下位/字节的其他一些功能。