Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Esp8266Gateway compiling problem

Esp8266Gateway compiling problem

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fiets
    wrote on last edited by
    #1

    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

    mfalkviddM 1 Reply Last reply
    0
    • F fiets

      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

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fiets
        wrote on last edited by
        #3

        ok, thanks...

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        10

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular