家里的电热水器安装在暗格里,看不到温度也调不了温度,只能用手机app调,于是就用串口接收了热水器与wifi模块交互的数据,但是就最一位搞不明白是怎么校验的,好像也不是CRC校验,也不是数据和校验,不知道是怎么校验的,有懂的老司机带带我,告诉我是怎么校验的吧,感谢!
AA 11 E2 00 00 00 00 00 00 02 14 07 1E 00 00 00 00 D2
设成30度
AA 11 E2 00 00 00 00 00 00 02 14 07 23 00 00 00 00 CD
设成35度
AA 11 E2 00 00 00 00 00 00 02 14 07 28 00 00 00 00 C8
设成40度
AA 11 E2 00 00 00 00 00 00 02 14 07 2D 00 00 00 00 C3
设成45度
AA 11 E2 00 00 00 00 00 00 02 14 07 32 00 00 00 00 BE
设成50度
AA 11 E2 00 00 00 00 00 00 02 14 07 3C 00 00 00 00 B4
设成60度
AA 11 E2 00 00 00 00 00 00 02 14 07 41 00 00 00 00 AF
设成65度
AA 11 E2 00 00 00 00 00 00 02 14 07 46 00 00 00 00 AA
设成70度
AA 11 E2 00 00 00 00 00 00 02 14 07 4B 00 00 00 00 A5
设成75度
AA 11 E2 00 00 00 00 00 00 02 14 07 37 00 00 00 00 B9
设成55度
前台的AA 11 E2 00 00 00 00 00 00这个应该是数据头,02 14这个可能是什么地址之类的,也不懂,07应该是模式,后面两位就是需要的数据,最后两位我想应该是校验码,不知道怎么算出来的!
|