-
Notifications
You must be signed in to change notification settings - Fork 47
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
resetCb is not being called #29
Comments
mhhh, can you try the syncreset branch of el-client, it looks like I forgot to merge that into master, ooops! |
This code is crashing in infinity loop at Sync() with this branch. |
Ugh, any details on the crash? And did you do this:
|
With UART debug log in auto the ESP crashes together with Arduino. With UART debug log disabled I have only this on serial monitor in loop:
On debug log all messages like this:
|
As far as I can tell things are failing because you're trying to run the link with esp-link at 9600 baud. Esp-link busy-waits when transmitting to the attached uC and for long messages 9600 baud will block it for too long. The crash you're noticing most likely is a watchdog timer reset. |
Hi! The problem is not the baud rate. I found a strange behavior with your test code. When the Serial for debug is given the code works with baud rate at 115200 or 9600.
Remove the Serial for debug and it won't sync anymore and sometimes will crash.
Best regards. |
Hi! Revising this subject what I can say is: With esp-link But there's sign of reset callback on serial using Meantime I can see this message with baud rate at
Looks like the reset callback message is very large or there's another problem. Best regards. |
Hi @tve !
The resetCb callback is not being called with esp-link 3.0 alpha0.
I'm testing with reset via web interface and push button.
Only to make sure there no error in my code here is:
After a reset the Arduino crashes trying publish a message.
Best regards.
The text was updated successfully, but these errors were encountered: