Esp8266Gateway compiling problem



  • Hi,

    I am realy new with Mysensors, I have all the components to make a set of sensors and a gateway.

    But, making that gateway I get stuck while compiling.

    The error I get is the following:

    Arduino: 1.8.5 (Windows 7), Board:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

    *In file included from D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,

                 from D:\nw\GatewayESP8266\GatewayESP8266.ino:132:
    

    D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h: In instantiation of 'size_t WiFiClient::write(T&, size_t) [with T = char*; size_t = unsigned int]':

    C:\Program Files (x86)\Arduino\libraries\MySensors-master/core/MyGatewayTransportEthernet.cpp:207:58: required from here

    D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:123:36: error: request for member 'available' in 'source', which is of non-class type 'char*'

     size_t left = source.available();
    
                                    ^
    

    D:\Users\xxxxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:127:5: error: request for member 'read' in 'source', which is of non-class type 'char*'

     source.read(buffer.get(), will_send);
    
     ^
    

    exit status 1
    Fout bij het compileren voor board Generic ESP8266 Module*

    Who has any idea how to solve this?

    Thanks in advance


  • Mod

    @fiets welcome to the MySensors community!

    This sounds like the same problem as in https://github.com/mysensors/MySensors/issues/781

    A fix exists, but is only available in the development version of MySensors. If you're comfortable using the development version, switch to that version and you should be fine. Otherwise you'll have to wait for the next release.



  • ok, thanks...


 

324
Online

7.9k
Users

8.7k
Topics

93.7k
Posts