When try compilation with this W5100 i get error:
Opcje projektu zmienione, przeładuj całość
In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,
from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:74:1: error: 'EthernetServer' does not name a type
EthernetServer _ethernetServer(_ethernetGatewayPort);
^~~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:89:8: error: 'EthernetClient' does not name a type
static EthernetClient client = EthernetClient();
^~~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportInit()':
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: error: 'Ethernet' was not declared in this scope
if (!Ethernet.begin(_ethernetGatewayMAC)) {
^~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: note: suggested alternative: '_ethernetMsg'
if (!Ethernet.begin(_ethernetGatewayMAC)) {
^~~~~~~~
_ethernetMsg
In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:49:0,
from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: error: 'Ethernet' was not declared in this scope
Ethernet.localIP()[0],
^
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'
#define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug
^~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'
GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),
^~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: note: suggested alternative: '_ethernetMsg'
Ethernet.localIP()[0],
^
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'
#define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug
^~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'
GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),
^~~~~~~~~~~~~
In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,
from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: error: '_ethernetServer' was not declared in this scope
_ethernetServer.begin();
^~~~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: note: suggested alternative: '_ethernetMsg'
_ethernetServer.begin();
^~~~~~~~~~~~~~~
_ethernetMsg
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportSend(MyMessage&)':
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: error: '_ethernetServer' was not declared in this scope
nbytes = _ethernetServer.write(_ethernetMsg);
^~~~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: note: suggested alternative: '_ethernetMsg'
nbytes = _ethernetServer.write(_ethernetMsg);
^~~~~~~~~~~~~~~
_ethernetMsg
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool _readFromClient()':
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: error: 'client' was not declared in this scope
while (client.connected() && client.available()) {
^~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: note: suggested alternative: 'Print'
while (client.connected() && client.available()) {
^~~~~~
Print
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportAvailable()':
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:409:2: error: 'EthernetClient' was not declared in this scope
EthernetClient newclient = _ethernetServer.available();
^~~~~~~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:411:6: error: 'newclient' was not declared in this scope
if (newclient) {
^~~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: error: 'client' was not declared in this scope
if (client != newclient) {
^~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: note: suggested alternative: 'Print'
if (client != newclient) {
^~~~~~
Print
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: error: 'client' was not declared in this scope
if (client) {
^~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: note: suggested alternative: 'Print'
if (client) {
^~~~~~
Print
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'void gatewayTransportRenewIP()':
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: error: 'Ethernet' was not declared in this scope
if (Ethernet.maintain() & ~(0x06)) {
^~~~~~~~
C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: note: suggested alternative: '_ethernetMsg'
if (Ethernet.maintain() & ~(0x06)) {
^~~~~~~~
_ethernetMsg
exit status 1
Błąd kompilacji dla płytki Sensebender Gateway.
What is a problem ?