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
-
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
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login