Page 1 of 1

DirectMethod JSON sent from Azure gets cut off above 280 chars

Posted: Fri May 24, 2019 10:29 am
by jespern129
Hi,

I have modified the iothub_client_sample_mqtt example to register for receiving DirectMethods from Azure IoThub.
It works fine as long as the JSON content is shorter than 280 characters - the content is received and the callback is called.

However, when the content is longer than 280 chars, the callback is not called.

I am using ESP-IDF 3.2 and ESP-WROVER-KIT-B with ext SPIRAM used for heap and Mbed TLS allocations set to ext. SPIRAM.

Same code builds and runs fine on x86.

Has anybody experienced something like this ?