Other rESP8266WiFi library for ESP8266 v2.50 and ESP32 v1.02

Erel

Administrator
Staff member
Licensed User
This update is no longer relevant. Use the library that is included with the latest version of B4R.
rESP8266WiFi v1.40 is attached. It depends on the latest versions of ESP8266 and ESP32 SDKs.
The previous version (1.33) depends on ESP8266 v2.4.0 and ESP32 v1.0.0.

You can update the SDKs with Arduino IDE - Tools - Board - Boards Manager.

Copy it to the internal libraries folder.
 
Last edited:

yaqoob

Member
Licensed User
Hi Erel,

Still is giving the below error and I noticed after replacing the library files the version still remains rESP8266WiFi v1.33 (see attached image). It did not change to rESP8266WiFi v1.40.

upload_2019-5-5_10-46-5.png

In file included from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\AsyncStreams.cpp:1:
rESP8266WiFi.h:89: error: cannot declare field 'B4R::WiFiSocket::client' to be of abstract type 'B4R::BufferedWiFiClient'
BufferedWiFiClient client;
^
C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\rESP8266WiFi.h:56:8: note: because the following virtual functions are pure within 'B4R::BufferedWiFiClient':
class BufferedWiFiClient : public Client {
^
In file included from C:\Users\Yaqoob a\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores\esp32/Arduino.h:157:0,
from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:8,
from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\AsyncStreams.cpp:1:
C:\Users\Yaqoob a\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores\esp32/Client.h:31:17: note: virtual int Client::connect(IPAddress, uint16_t, int)
virtual int connect(IPAddress ip, uint16_t port, int timeout) =0;
^
C:\Users\Yaqoob a\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores\esp32/Client.h:32:17: note: virtual int Client::connect(const char*, uint16_t, int)
virtual int connect(const char *host, uint16_t port, int timeout) =0;
^
In file included from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\YAQOOB~1\GOOGLE~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\AsyncStreams.cpp:1:
rESP8266WiFi.h:125: error: cannot declare field 'B4R::WiFiSSLSocket::client' to be of abstract type 'B4R::BufferedWiFiClient'
BufferedWiFiClient client;
^
exit status 1



upload_2019-5-5_10-46-5.png
 

Laurent95

Active Member
Licensed User
Hello,

It's needed to change it for B4R v 2.51 also ?
Didn't remember the date of version 2.51 and don't retrieve the annoucement, sorry :confused:

EDIT : Ok, need it my version of lib is v1.33.
Ooooppps, not checked it before

Regards
 

Laurent95

Active Member
Licensed User
It is not needed. I will add a message about it.
Ok, thanks.

Grumble, grumble i need to re-install B4R, did it before you respond :D
 
Top