Upgrade Ethernet GW -> 1.4 (wiznet)
-
1.5.7 + latest dev version
lib,,...\EthernetGateway.ino
Compilation, . error:Arduino: 1.5.7 (Windows 7), Board: "Arduino Nano, ATmega328"
In file included from EthernetGateway.ino:57:0:
GatewayUtil.h: In function 'void parseAndSend(MySensor, char*)':
GatewayUtil.h:187:31: error: 'mSetRequestAck' was not declared in this scope
mSetRequestAck(msg,ack?1:0);
^
In file included from EthernetGateway.ino:53:0:
C:\Users\Dima\Documents\Arduino\libraries\MySensors/MySensor.h:248:10: error: 'boolean MySensor::sendRoute(MyMessage&)' is protected
boolean sendRoute(MyMessage &message);
^
In file included from EthernetGateway.ino:57:0:
GatewayUtil.h:193:26: error: within this context
ok = gw.sendRoute(msg);
^This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences. -
1.5.7 + latest dev version
lib,,...\EthernetGateway.ino
Compilation, . error:Arduino: 1.5.7 (Windows 7), Board: "Arduino Nano, ATmega328"
In file included from EthernetGateway.ino:57:0:
GatewayUtil.h: In function 'void parseAndSend(MySensor, char*)':
GatewayUtil.h:187:31: error: 'mSetRequestAck' was not declared in this scope
mSetRequestAck(msg,ack?1:0);
^
In file included from EthernetGateway.ino:53:0:
C:\Users\Dima\Documents\Arduino\libraries\MySensors/MySensor.h:248:10: error: 'boolean MySensor::sendRoute(MyMessage&)' is protected
boolean sendRoute(MyMessage &message);
^
In file included from EthernetGateway.ino:57:0:
GatewayUtil.h:193:26: error: within this context
ok = gw.sendRoute(msg);
^This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences. -
You don't seem to have updated everything (in the library folder) or forgot to restart Arduino IDE afterwards.
-
I have a similar problem. I upgraded from 1.3 to 1.4 and my Wiznet gateway does not work. I can ping version 1.3 from my PC and it see the gateway. When I ping 1.4 from my PC it says that the destination address can not be found. I have downloaded the latest Ethernet gateway sketch, but it did not help. Has any other file change that could effect this.
Thanks
John