Skip to content
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 8266 hangs when the incoming message rate is too high. #51

Open
HW-Siew opened this issue Mar 7, 2016 · 4 comments
Open

ESP 8266 hangs when the incoming message rate is too high. #51

HW-Siew opened this issue Mar 7, 2016 · 4 comments

Comments

@HW-Siew
Copy link

HW-Siew commented Mar 7, 2016

Hi, all. I am experiencing a random hangs with ESP8266 when the pubsubclient incoming message rate is too high (around 10-50msg/s). I found a potential cause https://github.com/esp8266/Arduino/issues/50. Any idea how we can fix this. Tq.

@tijnkooijmans
Copy link

I have the same issue, any progress on this?

@HW-Siew
Copy link
Author

HW-Siew commented Mar 18, 2016

Hi, this still remains unsolved. However, there are few possible solutions as mentioned in https://github.com/esp8266/Arduino/issues/50. I do not have time to test it yet. if you do, do let me know how does it work. Tq

@tijnkooijmans
Copy link

It seems putting a 'loop()' call in front of every publish/subscribe call works. I use this fork (https://github.com/Suxsem/pubsubclient) that has a fix for it.

@git-tiger
Copy link

git-tiger commented Dec 18, 2017

I am sending UDP commands at frequency of 50Hz. After a period, the ESP hangs.
Using 'knolleary' version, the unit pauses for 5seconds every 30seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants