-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP keeps resetting after the first packet should be sent #480
Comments
BTW: a fully function based implementation does work (only tested with 3 attached sensors, so it only publishes 3 subnodes, but it works). Code is available at https://github.com/chris-iot/esp8266_iot/commit/a957a433e17b44034d9c0844838c83308005b586 or https://github.com/chris-iot/esp8266_iot/releases/tag/Mainboard_0.1.1 Also the code from the zip file from above is now online. You can find it at https://github.com/chris-iot/esp8266_iot/commit/afca8885aebd7ea9d5497c60f80114163c15a415 |
I belive this is your error. you need to only use the number of devices that have been initialized Use for(i=0; i<TEMP_MAX_DEVS; i++){
homies[i]->homie_setup();
} Other wise pointers will point to weird locations when you try to access them and cause crashes ..... Report back if this is not the issue?? |
Hi timpur, thanks for the reply and the code review. Seems like i had big tomatoes on my eyes :-) |
Hi, the error mentioned in #480 (comment) was exactly the reason why it failed. |
Hi,
first of all: Thanks for this amazing framework!
I have an issue that my ESP8266 keeps resetting at the end of my setup handler. It seems like it resets shortly after the code of my setup handler is done or if it enters the loop code for the first time.
My guess is that there are too many packets to be sent in the buffer and this causes an out of memory error, but this is just a guess...
Can anyone of the experts have a look on it?
Thanks.
Here are some more details:
console_out.txt
stacktrace_decoded.txt
code.zip
I'm using the following versions of libs:
If i did miss something, just leave a message here.
Thanks in advance!
The text was updated successfully, but these errors were encountered: