-
Notifications
You must be signed in to change notification settings - Fork 41
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
New library #2
Comments
It looks very promising. |
I'll update the library to follow AT command set releases, I'm expecting flow control and/or buffers features soon which will make the AT interface much more stable. I don't buffer anything in the library and IMO libraries shouldn't buffer given the limited amount of RAM on the Arduinos and given that Serial (and SoftwareSerial) already provide the buffer. Instead, I just implement the Stream interface so you can check for available() and call read() to get the incoming data. available() is non blocking so you can call that in a loop. |
I mean that HardwareSerial has hardware buffer. I mean you can do a little bit more blocking operation than with SofwareSerial where this is not possible. I just started to play with your library. You wrote that you use 0.20 AT. I upgraded my module to 0.20 AT and 0.9.3 SDK and it runs on 115200 bauds. Which is too much for SoftwareSerial. And I see that you use 9600 in the example code of yours library. You are using some custom AT firmware? |
Sorry, I found that AT+IPR= works, it is only not mentioned in 4A-AT-Espressif AT Instruction Set_020.pdf |
Just to let you know I created my own library here: https://github.com/Diaoul/arduino-ESP8266
It implements the full v0.20 AT command set and is non-blocking. I'll soon implement a derived client so I can pass it to the MQTT library.
Any help to improve the library is welcome :)
The text was updated successfully, but these errors were encountered: