1.使用的是MQTT_client_server的例程。
2.创建了两个软件时钟,在中断函数事件入对,周期性MATT发布数据。
3.运行一段时间后MQTT自动断开,消息队列溢出。
具体代码截图如下:
1.软件时钟创建
入队函数创建:
终端截图如下:
我该如何设置处理时间?
我发现处理器处理数据不过快,该如何解决?
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.