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

    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.
     

    Attached Files:

  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
     
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