Project

General

Profile

Bug #976

SHL15 AFC协议的接收数据长度超过256字节导致尾03结束符无法识别

Added by yufeng wu almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Start date:
11/15/2020
Due date:
% Done:

0%

Estimated time:

Description

SHL15 AFC协议的接收数据长度超过256字节导致尾03结束符无法识别

CheckHeadLRC函数
uint8 ret=0,dlen=0;
改为
uint16 ret=0,dlen=0;

History

#1

Updated by yufeng wu almost 4 years ago

  • Status changed from New to In Progress

已提交现场使用
版本管理待重新编译发布

#2

Updated by yufeng wu almost 4 years ago

  • Status changed from In Progress to Resolved
#3

Updated by yufeng wu almost 4 years ago

  • Status changed from Resolved to In Progress

修改后的新bug
CheckHeadLRC() 的 dlen由uint8扩充为uint16后导致
GetLRC()的i 超限,协议进入for死循环
将i uint8 改为uint16
另外新增对接收到的afc数据解析打印出各种afc的数量信息

#4

Updated by yufeng wu almost 4 years ago

  • Status changed from In Progress to Resolved

20201121 20:00为止 15现场 1#fep AFC 不好的站还剩 2-7-12-14-15-22-23

Also available in: Atom PDF