Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

异常反馈 #2

Open
williammyq opened this issue Sep 18, 2020 · 1 comment
Open

异常反馈 #2

williammyq opened this issue Sep 18, 2020 · 1 comment

Comments

@williammyq
Copy link

image
image
代码中对于接收端LEN的定义,如果出现HTTP 403 404,底层反馈RC为负数,但是上层判断机制却为无符号,那么将会导致不会触发处理机制,导致线程卡死异常,另外在运行过程中,经常会出现串口写入数据为0的情况,就是串口写不出数据的情况,也就是HAL_TCP_Write函数会进入 ret = send(fd, buf + len_sent, len - len_sent, 0) 返回 ( ret = 0)的情况。另外在整体体系中宏定义管理在软件包的可开关选项中并没有按照MAKELIST中的选项去设计,导致代码层级比较混乱,宏定义要去include文件夹中的config.h中去做修改

@williammyq
Copy link
Author

1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant