-
Notifications
You must be signed in to change notification settings - Fork 13.3k
TinyGSM example didn't compile with 2.5.0-beta3. #5705
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
Comments
@ChrSchultz, this looks like a 3rd-party library issue. Your best best for help is to get in touch with the TinyGSM author for assistance, or try https://www.esp8266.com forums. |
no I don't think that this is relatet to 3rd party lib. with esp8266-2.4.2it works fine and compilation runs. |
I'll reopen as maybe this was due to a change in our code. @d-a-v, did we do any signature changes in the |
The signature for flush() did change in its return value. A method with return void like in the case shown should be implemented like this: The ArduinoHttpClient library should be fixed to decouple the return types as above. In addition, the ArduinoHttpClient library used is the one from arduino-libraries, and its implementation does not state explicitly that it supports the ESP. There could be hidden issues, such as timing, because standard implementations from arduino are not under the same timing restrictions as code for the ESP. I suggest either looking for an implementation that explicitly states ESP support, or using our ESP8266HttpClient. |
@ChrSchultz |
It wIll be fixed with #5749 |
@pfabri regardles the coming bugfix you can roll back platformio platform espressif8266 to 2.0.0 with: |
@ChrSchultz Many thanks! |
Can you send please working example of ssl with tinyGSM? |
If I try to compile the TinyGSM-example forHttpClient (see file)
test.ino.txt rename to .ino.
I got the following errors:
If i use esp8266 library 4.2.4 (stable) compilation will work fine. so I think, the TinyGSM-library is working.
Arduino-IDE 1.8.8 windows-store Win10-64bit, TinyGSM, ESP8266-2.5.0-beta3 Lolin D1 mini.
The text was updated successfully, but these errors were encountered: