我想把6657板子作为一个服务器,创建两个线程,一个用来接收数据,另一个用来把处理后的数据发送给客户端,DaemonNew函数不知道如何实现,自己重新写了一个服务器函数,服务器函数是在TASKcreate线程中运行的,用TASKcreate创建的发送线程运行不了,求指点我应该如何解决
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这种task应该是一个while循环,等待有数据(信号量)触发时启动发送就可以了。