How change MQTT buffer size

DUrbano
Posts: 2
Joined: Wed Jan 29, 2020 9:30 am

How change MQTT buffer size

Postby DUrbano » Tue Apr 07, 2020 12:45 pm

Hi,
I'm using an ESP32 module configured by a linux shell; I use the esp-idf library v3.3 and the esp-at library (last version). My goal is to increment the MQTT buffer size from the default 1024 bytes to 4096 bytes; to do this I used the menuconfig and enabled the "MQTT Using custom configurations" I set up the "Default MQTT Buffer Size" to 4096. Compiled and flashed correctly, but when I try to publish an MQTT message of 2000 raw bytes (AT+MQTTPUBRAW) it gives me ERROR only sending the AT command.
Could anyone help me to solve this problem ?
Kind regards

Who is online

Users browsing this forum: fevang, Majestic-12 [Bot], mzimmers and 30 guests