Wednesday, 09 December 2020 10:42

ISO15765-4协议-读故障码的代码实现(源自C300开发板教程) Featured

ISO15765-4 读故障码
代码片段如下所示:

97行判断车速是否为0,通过函数ISO15765_4_GetNotDrivingState判断。并且判断OBDStruct.DTCStruct.flag是否为RESET。条件满足的情况下才能读取故障码。其中OBDStruct.DTCStruct.flag值是RESET说明刚上电从来没有读取故障码,或者OBDStruct.DTCStruct.DTC的故障码已经被TaskTCP上传至服务器。99行是读取故障码函数,接下来我们会具体分析这个函数。...

继续阅读完整内容

请查看下方广告以解锁文章剩余内容

广告加载中...
Read 20813 times

GPS singal acquisition,replay and test equipment

Portable singal acquisition and replay

AI intelligent tongue imager

Tongue imager rafavi
 
Please support our site by viewing this advertisement.

Please support our site by viewing this advertisement

Free Content