本帖最后由 nanosaki 于 2018-11-13 22:01 编辑
一个空调的码库
以制冷模式17-30度的码来测试,有如下结果
空调状态值 红外码 码库中的序号
0001110000 CD,AE,64,C4,A6,A0,C1,69,D5,90,1D,AB,45,31,5E,7A,FC,8F, 2012
0001120000 CD,AD,64,C4,A6,A0,C1,69,C5,90,1E,AB,45,31,5E,7A,FC,9F, 168
0001130000 CD,AC,64,C4,A6,A0,C1,69,35,90,1F,AB,45,31,5E,7A,FC,AF, 2840
0001140000 CD,AB,64,C4,A6,A0,C1,69,25,90,18,AB,45,31,5E,7A,FC,BF, 2357
0001150000 CD,AA,64,C4,A6,A0,C1,69,15,90,19,AB,45,31,5E,7A,FC,4F, 521
0001160000 CD,A9,64,C4,A6,A0,C1,69,05,90,1A,AB,45,31,5E,7A,FC,5F, 2261
0001170000 CD,A8,64,C4,A6,A0,C1,69,75,90,1B,AB,45,31,5E,7A,FC,6F, 2532
0001180000 CD,A7,64,C4,A6,A0,C1,69,65,90,14,AB,45,31,5E,7A,FC,7F, 718
0001190000 CD,A6,64,C4,A6,A0,C1,69,55,90,15,AB,45,31,5E,7A,FC,0F, 2384
00011A0000 CD,A5,64,C4,A6,A0,C1,69,45,90,16,AB,45,31,5E,7A,FC,1F, 1577
00011B0000 CD,A4,64,C4,A6,A0,C1,69,B5,90,17,AB,45,31,5E,7A,FC,2F, 1776
00011C0000 CD,A3,64,C4,A6,A0,C1,69,A5,90,10,AB,45,31,5E,7A,FC,3F, 2026
00011D0000 CD,A2,64,C4,A6,A0,C1,69,95,90,11,AB,45,31,5E,7A,FC,CF, 1427
00011E0000 CD,A1,64,C4,A6,A0,C1,69,85,90,12,AB,45,31,5E,7A,FC,DF, 1585
感觉码库序号很难找出规律
比较在意的是,在数据库中能够查到这样一个记录
matchs 0,6,0,11,0,2D,0,5A,0,C8,1,91,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,17,43,12,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,11,12,11,11,12,11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,12,16,43,12,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,12,12,11,11,12,11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,12,10,
看了看这个序列,感觉是hash?或者是某个排列树的节点记录?
不知道有没有对算法之类经验比较深的人能分析一下这个码库序号究竟是怎么计算出来的?如何从状态值求得?
如果有人有想法,我这里还能提供其它类似的数据
希望有大神能提出高见!
|