Guest User

Gateway

a guest
Sep 24th, 2019
205
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,
  2.  
  3. from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
  4. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:74:1: error: 'EthernetServer' does not name a type
  5.  
  6. EthernetServer _ethernetServer(_ethernetGatewayPort);
  7.  
  8. ^~~~~~~~~~~~~~
  9.  
  10. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:89:8: error: 'EthernetClient' does not name a type
  11.  
  12. static EthernetClient client = EthernetClient();
  13.  
  14. ^~~~~~~~~~~~~~
  15. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportInit()':
  16.  
  17. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: error: 'Ethernet' was not declared in this scope
  18.  
  19. if (!Ethernet.begin(_ethernetGatewayMAC)) {
  20.  
  21. ^~~~~~~~
  22. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:149:7: note: suggested alternative: '_ethernetMsg'
  23.  
  24. if (!Ethernet.begin(_ethernetGatewayMAC)) {
  25.  
  26. ^~~~~~~~
  27.  
  28. _ethernetMsg
  29. In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:49:0,
  30.  
  31. from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
  32. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: error: 'Ethernet' was not declared in this scope
  33.  
  34. Ethernet.localIP()[0],
  35.  
  36. ^
  37. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'
  38.  
  39. #define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug
  40.  
  41. ^~~~~~~~~~~
  42. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'
  43.  
  44. GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),
  45.  
  46. ^~~~~~~~~~~~~
  47.  
  48. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:156:16: note: suggested alternative: '_ethernetMsg'
  49.  
  50. Ethernet.localIP()[0],
  51.  
  52. ^
  53. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MyConfig.h:1815:48: note: in definition of macro 'DEBUG_OUTPUT'
  54.  
  55. #define DEBUG_OUTPUT(x,...) hwDebugPrint(x, ##VA_ARGS) //!< debug
  56.  
  57. ^~~~~~~~~~~
  58. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:155:2: note: in expansion of macro 'GATEWAY_DEBUG'
  59.  
  60. GATEWAY_DEBUG(PSTR("GWT:TIN:IP=%" PRIu8 ".%" PRIu8 ".%" PRIu8 ".%" PRIu8 "\n"),
  61.  
  62. ^~~~~~~~~~~~~
  63.  
  64. In file included from C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/MySensors.h:208:0,
  65.  
  66. from C:\Users\Piotrek\Desktop\SensebenderGatewayETHERNET\SensebenderGatewayETHERNET.ino:111:
  67. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: error: '_ethernetServer' was not declared in this scope
  68.  
  69. _ethernetServer.begin();
  70.  
  71. ^~~~~~~~~~~~~~~
  72.  
  73. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:189:2: note: suggested alternative: '_ethernetMsg'
  74.  
  75. _ethernetServer.begin();
  76.  
  77. ^~~~~~~~~~~~~~~
  78.  
  79. _ethernetMsg
  80.  
  81. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportSend(MyMessage&)':
  82.  
  83. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: error: '_ethernetServer' was not declared in this scope
  84.  
  85. nbytes = _ethernetServer.write(_ethernetMsg);
  86.  
  87. ^~~~~~~~~~~~~~~
  88. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:246:11: note: suggested alternative: '_ethernetMsg'
  89.  
  90. nbytes = _ethernetServer.write(_ethernetMsg);
  91.  
  92. ^~~~~~~~~~~~~~~
  93.  
  94. _ethernetMsg
  95. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool _readFromClient()':
  96.  
  97. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: error: 'client' was not declared in this scope
  98.  
  99. while (client.connected() && client.available()) {
  100.  
  101. ^~~~~~
  102. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:289:9: note: suggested alternative: 'Print'
  103.  
  104. while (client.connected() && client.available()) {
  105.  
  106. ^~~~~~
  107.  
  108. Print
  109. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'bool gatewayTransportAvailable()':
  110.  
  111. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:409:2: error: 'EthernetClient' was not declared in this scope
  112.  
  113. EthernetClient newclient = _ethernetServer.available();
  114.  
  115. ^~~~~~~~~~~~~~
  116.  
  117. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:411:6: error: 'newclient' was not declared in this scope
  118.  
  119. if (newclient) {
  120.  
  121. ^~~~~~~~~
  122. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: error: 'client' was not declared in this scope
  123.  
  124. if (client != newclient) {
  125.  
  126. ^~~~~~
  127. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:412:7: note: suggested alternative: 'Print'
  128.  
  129. if (client != newclient) {
  130.  
  131. ^~~~~~
  132.  
  133. Print
  134. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: error: 'client' was not declared in this scope
  135.  
  136. if (client) {
  137.  
  138. ^~~~~~
  139. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:422:6: note: suggested alternative: 'Print'
  140.  
  141. if (client) {
  142.  
  143. ^~~~~~
  144.  
  145. Print
  146. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp: In function 'void gatewayTransportRenewIP()':
  147.  
  148. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: error: 'Ethernet' was not declared in this scope
  149.  
  150. if (Ethernet.maintain() & ~(0x06)) {
  151.  
  152. ^~~~~~~~
  153. C:\Users\Piotrek\Documents\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:463:6: note: suggested alternative: '_ethernetMsg'
  154.  
  155. if (Ethernet.maintain() & ~(0x06)) {
  156.  
  157. ^~~~~~~~
  158.  
  159. _ethernetMsg
  160. exit status 1
  161. Błąd kompilacji dla płytki Sensebender Gateway.
RAW Paste Data