expanseelectronics / ethernetnodes Goto Github PK
View Code? Open in Web Editor NEWEthernet version of our artnetnode project.
Home Page: https://expanseelectronics.com/
Ethernet version of our artnetnode project.
Home Page: https://expanseelectronics.com/
Can you tell me the gpio wiring diagram
Originally posted by @mingdamedia in #3 (comment)
Moving this to new issue as OP keeps commenting on unrelated issues.
ESP8266 GPIO pinout is as follows:
RST - To reset button with 3.3K pullup resistor.
ADC - NC
EN - 3.3V
IO16 - MAX485 RE# and DE pin. (ensure correct logic level)
IO14 - W5500 SCLK
IO12 - W5500 MISO
1013 -W5500 MOSI
VCC - 3.3V
TXD - TX and MAX485 DI. (ensure correct logic level)
RDX - RX and MAX485 RO. (ensure correct logic level)
IO5 - W5500 RESET (ensure no clash with SPI)
IO4 - WS2812B LEDs
IO0 - Pulled to 3.3V with 3.3K resistor.
IO2 - MAX485 (port 2) DI. (ensure correct logic level)
IO15 - W5500 SCS (ensure no clash with SPI)
GND - GND
Hope this helps.
Heyho,
couldn't help but notice that the Discordserver aswell as the production of the Ethernetnodes have stopped.
I was wondering if there are any updates to the node available and/or where the new place for the community is.
If the product is discontinued, I would love to see the source code, especially to update or tinker myself with the hardware.
Thanks!
Hi,
I get this compilation errors on dualETH.ino with generic ESP8266 Module.
Did I'm missing something or some libraries had some update break?
Arduino IDE 2.1.1
esp8266 core 3.1.2
Installed libs:
Arduinojson 5.13.5
EthernetWebServer 2.4.1
Ethernet_Generic 2.8.1
Functional-VLpp 1.0.2
EthernetLarge 2.0.0
Partial error code:
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino:139:3: error: 'wifiStart' was not declared in this scope; did you mean 'wifiStatus'?
139 | wifiStart();
| ^~~~~~~~~
| wifiStatus
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino:141:3: error: 'webStart' was not declared in this scope
141 | webStart();
| ^~~~~~~~
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino:146:5: error: 'artStart' was not declared in this scope
146 | artStart();
| ^~~~~~~~
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino:151:5: error: 'portSetup' was not declared in this scope
151 | portSetup();
| ^~~~~~~~~
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino: In function 'void loop()':
C:\Users\Etienne\Documents\Steady Node\SW\ESP\ethernetNodes-main(2)\ethernetNodes-main\code\dualETH\dualETH.ino:167:3: error: 'doNodeReport' was not declared in this scope; did you mean 'nextNodeReport'?
167 | doNodeReport();
| ^~~~~~~~~~~~
| nextNodeReport
exit status 1
Compilation error: 'wifiStart' was not declared in this scope; did you mean 'wifiStatus'?`
Solved: Just need to add the 3 .ino in the same folder...
Since I saw some issue about project building, I've just published a working PlatformIO project of this repo: https://github.com/mrv96/ethernetNodes/tree/platformio
P.S.: working means that it builds successfully, I didn't tried it on field.
Hi
The button attached to RST pin doesn't factory reset the parameters when it's pressed during boot.
Only the 5 reboot method works.
Thx
There is a fix needed in 2 of the files.
They dont return any value. Since I dont know which values these are, I just inserted what made most sense to me.
I'll try to get a pull-request running with the necessary fixes.
Hi,
I'm encountering some compile errors.
Arduino API 2.1.1
ESP82655 Core 2.4.1
Libs in addition to those provided :
Arduino Json 5.13.5
EthernetWebServer by Khoi H. 2.4.1
Ethernet_Generic 2.8.1
Functional-Vlpp by Khoi H. 1.0.2
Modded Ethernet.h by Khoi H.
Modded EthenetLarge.h by Khoi H.
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:163:6: error: multiple definition of 'enum EthernetLinkStatus'
enum EthernetLinkStatus
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:77:6: error: previous definition here
enum EthernetLinkStatus {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:170:6: error: multiple definition of 'enum EthernetHardwareStatus'
enum EthernetHardwareStatus
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:83:6: error: previous definition here
enum EthernetHardwareStatus {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:193:7: error: redefinition of 'class EthernetClass'
class EthernetClass
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:95:7: error: previous definition of 'class EthernetClass'
class EthernetClass {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:371:7: error: redefinition of 'class EthernetUDP'
class EthernetUDP : public UDP
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:192:7: error: previous definition of 'class EthernetUDP'
class EthernetUDP : public UDP {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:462:7: error: redefinition of 'class EthernetClient'
class EthernetClient : public Client
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:254:7: error: previous definition of 'class EthernetClient'
class EthernetClient : public Client {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:532:7: error: redefinition of 'class EthernetServer'
class EthernetServer : public Server
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:293:7: error: previous definition of 'class EthernetServer'
class EthernetServer : public Server {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:562:7: error: redefinition of 'class DhcpClass'
class DhcpClass
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:312:7: error: previous definition of 'class DhcpClass'
class DhcpClass {
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h: In static member function 'static uint16_t W5100Class::write(uint16_t, const uint8_t*, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:932:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, 4);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:932:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:954:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, 4);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:954:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1045:38: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, len + 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1045:38: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1049:32: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1049:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1130:38: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, len + 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1130:38: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1134:32: error: no matching function for call to 'SPIClass::transfer(uint8_t [8], int)'
pCUR_SPI->transfer(cmd, 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1134:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h: In static member function 'static uint16_t W5100Class::read(uint16_t, uint8_t*, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1182:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [4], int)'
pCUR_SPI->transfer(cmd, 4);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1182:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1184:32: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, uint16_t&)'
pCUR_SPI->transfer(buf, len);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1184:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1195:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [4], int)'
pCUR_SPI->transfer(cmd, 4);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1195:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1197:32: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, uint16_t&)'
pCUR_SPI->transfer(buf, len);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1197:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1271:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [4], int)'
pCUR_SPI->transfer(cmd, 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1271:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1273:32: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, uint16_t&)'
pCUR_SPI->transfer(buf, len);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1273:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1334:30: error: no matching function for call to 'SPIClass::transfer(uint8_t [4], int)'
pCUR_SPI->transfer(cmd, 3);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1334:30: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:59:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1336:32: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, uint16_t&)'
pCUR_SPI->transfer(buf, len);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/utility/w5100_Impl.h:1336:32: note: candidate is:
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:19:0:
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\Etienne\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI/SPI.h:65:11: note: candidate expects 1 argument, 2 provided
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:61:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Dhcp_Impl.h: In member function 'void DhcpClass::send_DHCP_MESSAGE(uint8_t, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Dhcp_Impl.h:291:7: error: '_dhcpHostName' was not declared in this scope
if (_dhcpHostName == nullptr)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Dhcp_Impl.h: In member function 'uint8_t DhcpClass::parseDHCPResponse(long unsigned int, uint32_t&)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Dhcp_Impl.h:451:11: error: '_dhcpDnsdomainName' was not declared in this scope
_dhcpDnsdomainName = (char*)malloc(sizeof(char) * opt_len + 1);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Dhcp_Impl.h:458:11: error: '_dhcpHostName' was not declared in this scope
_dhcpHostName = (char*)malloc(sizeof(char) * opt_len + 1);
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:63:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::connect(const char*, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:69:7: error: '_sockindex' was not declared in this scope
if (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::connect(IPAddress, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:91:7: error: '_sockindex' was not declared in this scope
if (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:113:3: error: '_sockindex' was not declared in this scope
_sockindex = Ethernet.socketBegin(SnMR::TCP, 0);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::availableForWrite()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:150:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:153:39: error: '_sockindex' was not declared in this scope
return Ethernet.socketSendAvailable(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual size_t EthernetClient::write(const uint8_t*, size_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:184:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:198:36: error: '_sockindex' was not declared in this scope
written = Ethernet.socketSend(_sockindex, buf, min(bytesRemaining, (size_t) ETHERNET_CLIENT_SEND_MAX_SIZE) );
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::available()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:244:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:247:39: error: '_sockindex' was not declared in this scope
return Ethernet.socketRecvAvailable(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::read(uint8_t*, size_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:260:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:263:30: error: '_sockindex' was not declared in this scope
return Ethernet.socketRecv(_sockindex, buf, size);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::peek()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:270:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:276:30: error: '_sockindex' was not declared in this scope
return Ethernet.socketPeek(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual int EthernetClient::read()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:285:27: error: '_sockindex' was not declared in this scope
if (Ethernet.socketRecv(_sockindex, &b, 1) > 0)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual void EthernetClient::flush()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:295:10: error: '_sockindex' was not declared in this scope
while (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual void EthernetClient::stop()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:311:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:315:29: error: '_sockindex' was not declared in this scope
Ethernet.socketDisconnect(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual uint8_t EthernetClient::connected()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:340:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:343:37: error: '_sockindex' was not declared in this scope
uint8_t s = Ethernet.socketStatus(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'uint8_t EthernetClient::status()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:352:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:355:32: error: '_sockindex' was not declared in this scope
return Ethernet.socketStatus(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual bool EthernetClient::operator==(const EthernetClient&)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:364:7: error: '_sockindex' was not declared in this scope
if (_sockindex != rhs._sockindex)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:364:25: error: 'const class EthernetClient' has no member named '_sockindex'
if (_sockindex != rhs._sockindex)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:367:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:370:11: error: 'const class EthernetClient' has no member named '_sockindex'
if (rhs._sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual uint16_t EthernetClient::localPort()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:382:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:388:27: error: '_sockindex' was not declared in this scope
port = W5100.readSnPORT(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual IPAddress EthernetClient::remoteIP()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:400:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:406:20: error: '_sockindex' was not declared in this scope
W5100.readSnDIPR(_sockindex, remoteIParray);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h: In member function 'virtual uint16_t EthernetClient::remotePort()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:418:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetClient_Impl.h:424:28: error: '_sockindex' was not declared in this scope
port = W5100.readSnDPORT(_sockindex);
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:64:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetServer_Impl.h: At global scope:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetServer_Impl.h:225:35: error: no 'void EthernetServer::statusreport()' member function declared in class 'EthernetServer'
void EthernetServer::statusreport()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetServer_Impl.h:324:87: error: no 'size_t EthernetServer::_write(uint8_t, const uint8_t*, size_t)' member function declared in class 'EthernetServer'
size_t EthernetServer::_write(const uint8_t sockindex, const uint8_t *buf, size_t size)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetServer_Impl.h: In member function 'virtual size_t EthernetServer::write(const uint8_t*, size_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetServer_Impl.h:418:31: error: '_write' was not declared in this scope
_write(i, buffer, size);
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:65:0,
from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual uint8_t EthernetUDP::begin(uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:75:7: error: '_sockindex' was not declared in this scope
if (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:78:3: error: '_sockindex' was not declared in this scope
_sockindex = Ethernet.socketBegin(SnMR::UDP, port);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual void EthernetUDP::stop()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:103:7: error: '_sockindex' was not declared in this scope
if (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::beginPacket(IPAddress, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:136:34: error: '_sockindex' was not declared in this scope
return Ethernet.socketStartUDP(_sockindex, rawIPAddress(ip), port);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::endPacket()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:143:33: error: '_sockindex' was not declared in this scope
return Ethernet.socketSendUDP(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual size_t EthernetUDP::write(const uint8_t*, size_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:159:54: error: '_sockindex' was not declared in this scope
uint16_t bytes_written = Ethernet.socketBufferData(_sockindex, _offset, buffer, size);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::parsePacket()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:182:36: error: '_sockindex' was not declared in this scope
if (Ethernet.socketRecvAvailable(_sockindex) > 0)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::read()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:286:48: error: '_sockindex' was not declared in this scope
if ((_remaining > 0) && (Ethernet.socketRecv(_sockindex, &byte, 1) > 0))
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::read(unsigned char*, size_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:309:33: error: '_sockindex' was not declared in this scope
got = Ethernet.socketRecv(_sockindex, buffer, _remaining);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:315:33: error: '_sockindex' was not declared in this scope
got = Ethernet.socketRecv(_sockindex, buffer, len);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual int EthernetUDP::peek()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:339:7: error: '_sockindex' was not declared in this scope
if (_sockindex >= MAX_SOCK_NUM || _remaining == 0)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:342:30: error: '_sockindex' was not declared in this scope
return Ethernet.socketPeek(_sockindex);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h: In member function 'virtual uint8_t EthernetUDP::beginMulticast(IPAddress, uint16_t)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:357:7: error: '_sockindex' was not declared in this scope
if (_sockindex < MAX_SOCK_NUM)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/EthernetUdp_Impl.h:360:3: error: '_sockindex' was not declared in this scope
_sockindex = Ethernet.socketBeginMulticast(SnMR::UDP | SnMR::MULTI, ip, port);
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h: In member function 'int EthernetClass::begin(uint8_t*, long unsigned int, long unsigned int)':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:134:14: error: '_customHostname' was not declared in this scope
if (strlen(_customHostname) != 0)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:136:12: error: 'class DhcpClass' has no member named 'setCustomHostname'
_dhcp->setCustomHostname(_customHostname);
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:139:5: error: '_hostName' was not declared in this scope
_hostName = _customHostname;
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:159:5: error: '_dnsDomainName' was not declared in this scope
_dnsDomainName = _dhcp->getDnsDomainName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:159:29: error: 'class DhcpClass' has no member named 'getDnsDomainName'
_dnsDomainName = _dhcp->getDnsDomainName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:160:5: error: '_hostName' was not declared in this scope
_hostName = _dhcp->getHostName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:160:24: error: 'class DhcpClass' has no member named 'getHostName'
_hostName = _dhcp->getHostName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h: At global scope:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:171:5: error: prototype for 'int EthernetClass::begin(uint8_t*, SPIClass*, long unsigned int, long unsigned int)' does not match any in class 'EthernetClass'
int EthernetClass::begin(uint8_t *mac, SPIClass *theSPI, unsigned long timeout, unsigned long responseTimeout)
^
In file included from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:20:0:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:131:7: error: candidates are: void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)
void begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);
^
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:130:7: error: void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress)
void begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway);
^
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:129:7: error: void EthernetClass::begin(uint8_t*, IPAddress, IPAddress)
void begin(uint8_t *mac, IPAddress ip, IPAddress dns);
^
c:\Users\Etienne\Documents\Arduino\libraries\EthernetLarge\src/EthernetLarge.h:128:7: error: void EthernetClass::begin(uint8_t*, IPAddress)
void begin(uint8_t *mac, IPAddress ip);
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:85:0,
from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:118:5: error: int EthernetClass::begin(uint8_t*, long unsigned int, long unsigned int)
int EthernetClass::begin(uint8_t *mac, unsigned long timeout, unsigned long responseTimeout)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h: In member function 'EthernetHardwareStatus EthernetClass::hardwareStatus()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:308:14: error: 'EthernetW5100S' was not declared in this scope
return EthernetW5100S;
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:313:14: error: 'EthernetW6100' was not declared in this scope
return EthernetW6100;
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h: In member function 'int EthernetClass::maintain()':
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:350:9: error: '_dnsDomainName' was not declared in this scope
_dnsDomainName = _dhcp->getDnsDomainName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:350:33: error: 'class DhcpClass' has no member named 'getDnsDomainName'
_dnsDomainName = _dhcp->getDnsDomainName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:351:9: error: '_hostName' was not declared in this scope
_hostName = _dhcp->getHostName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:351:28: error: 'class DhcpClass' has no member named 'getHostName'
_hostName = _dhcp->getHostName();
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h: At global scope:
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:479:39: error: no 'EthernetChip_t EthernetClass::getChip()' member function declared in class 'EthernetClass'
EthernetChip_t EthernetClass::getChip()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:487:42: error: no 'EthernetChip_t EthernetClass::getAltChip()' member function declared in class 'EthernetClass'
EthernetChip_t EthernetClass::getAltChip()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:496:53: error: no 'void EthernetClass::setHostname(const char*)' member function declared in class 'EthernetClass'
void EthernetClass::setHostname(const char* hostname)
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:529:33: error: no 'uint8_t EthernetClass::phyState()' member function declared in class 'EthernetClass'
uint8_t EthernetClass::phyState()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:536:29: error: no 'uint8_t EthernetClass::link()' member function declared in class 'EthernetClass'
uint8_t EthernetClass::link()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:543:39: error: no 'const char* EthernetClass::linkReport()' member function declared in class 'EthernetClass'
const char* EthernetClass::linkReport()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:550:30: error: no 'uint8_t EthernetClass::speed()' member function declared in class 'EthernetClass'
uint8_t EthernetClass::speed()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:557:40: error: no 'const char* EthernetClass::speedReport()' member function declared in class 'EthernetClass'
const char* EthernetClass::speedReport()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:564:31: error: no 'uint8_t EthernetClass::duplex()' member function declared in class 'EthernetClass'
uint8_t EthernetClass::duplex()
^
c:\Users\Etienne\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic_Impl.h:571:41: error: no 'const char* EthernetClass::duplexReport()' member function declared in class 'EthernetClass'
const char* EthernetClass::duplexReport()
^
In file included from c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:68:0,
from C:\Users\Etienne\Downloads\ethernetNodes-main(1)\ethernetNodes-main\dualETH\dualETH.ino:21:
c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer-impl.h: In member function 'void EthernetWebServer::_streamFileCore(size_t, const String&, const String&, int)':
c:\Users\Etienne\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer-impl.h:881:27: error: 'emptyString' was not declared in this scope
send(code, contentType, emptyString);
^
exit status 1
Compilation error: exit status 1
Thanks for your time
In dualETH.ino line 116 following theres no way to reset the SPIFFS via any command.
Also, in line 122 (I believe) you check if file /formatted.txt exists and if it does you format the SPIFFS and re-create the file?!
It would be nice if there could be an option (either via UDP/TCP or a web endpoint) to reset, and force format the SPIFFS to get a working, clean config.
E.g. my Node does not boot up, I suppose due to config errors.
However, I will raise that one again somewhere else in a different issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.