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

Discussion in 'B4R Questions' started by Erel, May 1, 2019.

  1. Erel

    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: Sep 10, 2019
  2. yaqoob

    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
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    You need to copy it to the internal libraries folder.
     
  4. yaqoob

    yaqoob Member Licensed User

    I did that. It asked to replace and I siad yes
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    The XML file was not replaced. Might be related to a permissions problem. You can try to reinstall B4R outside of Program Files.
     
  6. yaqoob

    yaqoob Member Licensed User

    Hi Erel,

    Yes, it is working.

    Thank you
     
  7. Laurent95

    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
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    It is not needed. I will add a message about it.
     
  9. Laurent95

    Laurent95 Active Member Licensed User

    Ok, thanks.

    Grumble, grumble i need to re-install B4R, did it before you respond :D
     
  10. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    Problems updating version 1.03 of ESP32 in Arduino
     

    Attached Files:

    KMatle likes this.
  11. KMatle

    KMatle Expert Licensed User

    Here, too...
     
  12. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice