我们在哪里可以列出问题和解决方法的清单?

时间:2019-09-09 17:58:16

标签: nodemcu esp32

我找到了一些解决方法,并希望将其记录下来以供其他用户使用。大部分是针对Espressif C代码的解决方法。

问题:

E (629771) MQTT_CLIENT: Read error or end of stream
W (629771) MQTT_CLIENT: Client asked to stop, but was not started

解决方案:

Changed Component config-> MQTT stack from 6144 to 8192
Changed Component config->ESP32-specific->Main task stack size from 8192 to 10240

问题:

string length overflow

解决方案:

the string limit is 4096 back to days of ESP8266 when SRAM was only 40k
the ESP32 has 520k so up string limit with:
collectgarbage("setmemlimit", 8192)

问题:

Interrupt functions used to be provided with 0/1 for the trigger level but the new code returns 0/256

解决方案:

if level~=0 then level=1 end

0 个答案:

没有答案