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.

[参考译文] CC3200:CC3200 MQTT

Guru**** 2502205 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1136091/cc3200-cc3200-mqtt

器件型号:CC3200

如何增加 MQTT 接收消息缓冲区大小?

代理发送有效载荷为3kb 的消息、但接收到的消息被截断为1KB。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您确定它的接收缓冲器是1K (而不是2K)吗?

    #define BUF_LEN 2048 /*缓冲区长度*/-应该使用 MQTT/SL_MQTT_CLIENT.c 来增加接收缓冲区大小。

    更新后、您将需要重建 MQTT 库和应用程序。