B4R Question [SOLVED] Error WiFiSSLSocket

Yafuhenk

Active Member
Licensed User
Longtime User
Since today I get an error when I want to connect to the Wi-Fi network.
Error:
rESP8266WiFi.h:142:23: error: cannot declare field 'B4R::WiFiSSLSocket::client' to be of abstract type 'B4R::BufferedWiFiClient'
I searched for the error and I found that it has been fixed in rESP8266WiFi version 1.55.

Installed:

Tested with this code:
B4X:
Sub Process_Globals
    Public Serial1 As Serial
    Private wifi As ESP8266WiFi
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("AppStart")
    'example of connecting to a local network
    If wifi.Connect2("SSID", "PASSWORD") Then
        Log("Connected to network")
    Else
        Log("Failed to connect to network")
    End If
End Sub
Can someone confirm the issue?
Thanks
 

XorAndOr

Active Member
Licensed User
Longtime User
Since today I get an error when I want to connect to the Wi-Fi network.

Can someone confirm the issue?
Thanks
I can only confirm that everything works
I use the same setup as you
B4R 3.90
Arduino 1.8.15
ESP8266WiFi library v. 1.58
It connects without problems.
No error here
 
Upvote 0

Yafuhenk

Active Member
Licensed User
Longtime User
Thanks XorAndOr.
I made an fresh install on an old pc and everything worked fine.
In the mean time I found the reason
My older ESP8266 D1R1 did not work with the latest ESP8266 board version (3.1.2) , so I installed and older version (2.5.0) in the Arduino IDE.
That caused the following: it shows version 2.5.0 in the board selection but still 3.2.1 in the board manager.

I did a reinstallation which solved the issue.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…