B4R Question Esp 32 Wifi support

yaqoob

Active Member
Licensed User
Longtime User
Hi,

I am testing ES 32 with example ESPConfigureWiFi. Using Esp 32 DEVKITV1 and installed esp 32 version 1.0.2 and esp8266 version 2.4.2. I am getting the below error. The same device with the example rESP32Bluetooth works perfectly. Any suggestion?

Thank you

4R Version: 2.60
Parsing code. (0.01s)
Building folders structure. (0.03s)
Compiling code. (0.01s)
Building project (0.06s)
Compiling & deploying Ino project (DOIT ESP32 DEVKIT V1 - COM14) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
In file included from C:\Users\YAQOOB~1\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\YAQOOB~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\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\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:8,
from C:\Users\YAQOOB~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\B4R\WIFICO~1\ESP826~1\ESPCON~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\YAQOOB~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
 
Top