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

Erel

B4X founder
Staff member
Licensed User
Longtime 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

Active Member
Licensed User
Longtime 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
 
Upvote 0

Laurent95

Active Member
Licensed User
Longtime 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
 
Upvote 0

Laurent95

Active Member
Licensed User
Longtime 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
 
Upvote 0

max123

Well-Known Member
Licensed User
Longtime User
Hi, I use Win XP and the latest ESP8266 SDK I can use is the 2.50,
from 2.51 it use python 3.7 that is not compatible with Win XP, so now I've updated the SDK
from 2.3.0 to 2.5.0 and when I compile on B4R 2.20 there are errors relative to rESP8266WiFi.

I've read on the forum (from Erel) that v1.40 is the right version for 2.5.0 SDK so I'm
here on this page to download, but is there a download link ?

Or maybe someone can post it ?

I've tried the 1.58 version of the library but still compile with errors, probably it require latest SDK.

Please help, I cannot install latest B4R IDE versions to extract it because the latest B4R
working on my 32 bit system is the 2.20.

Many thanks and Happy New Year :)
 
Last edited:
Upvote 0

max123

Well-Known Member
Licensed User
Longtime User
Hi Erel, sorry if I posted on this old thread, bu I don't wanted to write a post just for this question.

XP is old yes, but not all peoples have possibility to have a recent computer with recent SO, so I just continued to use what I have. I know that is old but there is not other way here. Apart this I use it without particular problems, just I do not use latest version of programs and all worked well.

B4R 2.20 with rESPWiFi 1.30 work without problems and I've managed it a lot, the problem is that B4R 2.20 won't work with 1.58 version of library, I've already tried it as I wrote and there are compilation errors on it.

If I can use B4R 2.20 with rESP8266WiFi 1.40 version on top of 2.5.0 SDK I'm happy, please can you post it or link a page to download ?

Many thanks for your precious time.
 
Last edited:
Upvote 0
Top