Hi, Using esp32-wroom32, esp-idf v.4.2.
Facing an issue with publishing larger content packets in MQTT (JSON format) from esp32. When tried to publish a larger packet in MQTT results in an error as 'Memory exhausted'(screenshot attached with this) but the packet is successfully published in the MQTT server. Changed in configuration for MQTT buffer (from sdkconfig file) but failed to get the best results. Kindly let me know if there are any changes in configuration for MQTT in esp. Thank you in advance.
Publish larger packet in mqtt
-
- Posts: 15
- Joined: Tue Jun 01, 2021 10:21 am
Publish larger packet in mqtt
- Attachments
-
- error as 'memory exhausted'
- Memory_exh.png (12.94 KiB) Viewed 2044 times
-
- Posts: 15
- Joined: Tue Jun 01, 2021 10:21 am
Re: Publish larger packet in mqtt
Changed in 'Default MQTT Buffer Size' as '15360' & 'MQTT task stack size' as '6144' but still failed to get required result any configuration for MQTT in a queue or any other parameters settings or modification kindly let me know ASAN.Thank you in advance
Who is online
Users browsing this forum: No registered users and 281 guests