Closed Gifford47 closed 1 year ago
However increasing a buffer in the stack would not be a good idea...
Let me do some heap research and provide a fix as 100 is indeed a bit small.
Fixed in latest dev release. Increased to 250 characaters. Larger would need a partial rewrite of TasmotaClient to handle indexes over 8-bit.
Wow, that's a fast answer and solution 😀 thanks for your support @arendst @barbudor !!
Closing since fixed
PROBLEM DESCRIPTION
i have a esp32 and a 3v3 arduino pro mini attached to it. on the arduino side i read all gpios and want to send the states via teleperiod function to mqtt. the string from arduino is with 152 chars a bit long. after sending the string from arduino to the esp, the message is cutted off and only 100 chars left. i tried to expand the read and write buffers but nothing changed. so i assume there`s a limit on tasmota side.
The code on the arduino (tasmotaclient) side is:
the Log on the esp side is:
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
user_FUNC_JSON
EXPECTED BEHAVIOUR
The whole teleperiod message is send to tasmota and further to mqtt broker.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)