B4R Question ESP8266Ping lib trouble...

peacemaker

Expert
Licensed User
Longtime User
HI, All

It looks like the Ping lib stopped to work.
B4X:
Sub Process_Globals
    Public Serial1 As Serial
    Private wifi As ESP8266WiFi
    Private ping As ESP8266Ping
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log(CRLF, "AppStart")
    'example of connecting to a local network
    If wifi.Connect2("wifinetwork", "password") Then
        Log("Connected to network")
        Log(ping.PingHost("google.com", 3)) 
    Else
        Log("Failed to connect to network")
    End If
End Sub


Tried 3 various web-sites, always zero result.
It's trouble with latest Arduino 2.3.2, SDK of ESP8266 is the latest v.3.1.2.

Old .bin compiled by Arduino 1.x - works OK.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…