Hello Team,
From the enet_lwip_icssg, I enabled MQTT and added source code to connect with server. I'm interested in sending (publishing) packets up to 8KB. However, when I increase the packet size past 2KB, the message will not publish to the server. Without modifying the SDK, the user can publish up to 256B. To increase the size, I increased the MQTT_RINGBUF_SIZE from 128 to 2048, then rebuilt the following libraries (8_04_17 SDK).
FYI, here are the libraries that need to be rebuilt:
gmake -s -f makefile.am243x enet-lwip-icssg_r5f.ti-arm-clang
gmake -s -f makefile.am243x lwip-freertos_r5f.ti-arm-clang
gmake -s -f makefile.am243x lwip-contrib_r5f.ti-arm-clang
With the mentioned changes, I was able to send around 2048 bytes. I tried to further increase the MQTT_OUTPUT_RINGBUF_SIZE to 4096, but received this error in mem.c:
