Tool/software: TI C/C++ Compiler
Hello
I am using CC3220sf for one of our projects and need to transmit around 60-70kb of data in a single packet over wifi using MQTT. However I am not able to transmit more than 32kb of data in a single packet. Since its going to be a battery operated device, every wifi transmission amounts to power consumption.
Upon inspection it was found that there is a restriction on buffer size in MQTT libraries of the SDK. The size was initially hardcoded to 1024 bytes. I tried changing the value to 65k by recompiling the libraries. It complies fine and in the memory allocation window in CCS I can verify the increase in size as well. But when I try to publish data more than 32kb, the MQTT publish fails with error codes of -1 or -7.
I am using simplelink_cc32xx_sdk_3_30_01_02 and CCS Version: 9.2.0.00013.
Any advice would be highly appreciated.
Thanks