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-12E and A6 #36

Closed
deixell opened this issue May 22, 2017 · 1 comment
Closed

ESP-12E and A6 #36

deixell opened this issue May 22, 2017 · 1 comment

Comments

@deixell
Copy link

deixell commented May 22, 2017

Greetings,

I'm attempting to integrate this library into my project where I am publishing MQTT packets to the server via Wi-Fi and when it's not available, then the publishing is done via A6 module. While implementing the Wi-Fi part is quite easy with the PubSubClient, I found a lot of difficulties implementing this library. ESP-12E has a thing called watchdog that makes sure the loop() doesn't take too long, otherwise the module restarts itself to prevent possible infinite loops or some other errors. TinyGSM takes a while waiting for response from the A6 module and ESP-12E just restarts itself as the loop() takes too long. So I'm looking for any kind of useful tip to work my way around this instead of writing a new library from scratch.

Thank you for your time.

@deixell deixell closed this as completed May 23, 2017
@deixell
Copy link
Author

deixell commented May 23, 2017

vshymanskyy thank you for help. This library actually works with ESP-12E as well, the only difference is that it requires delays after each piece of code. I've found some useful code to solve the delay problem really well:
https://github.com/pasko-zh/Arduino/blob/a54f573ebd7ac0ab3d1b79cd504e1c8b7c7a4531/doc/faq/readme.md

SRGDamia1 added a commit that referenced this issue Mar 2, 2020
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

1 participant