njh / EtherCard

EtherCard is an IPv4 driver for the ENC28J60 chip, compatible with Arduino IDE
https://www.aelius.com/njh/ethercard/
GNU General Public License v2.0
1.02k stars 454 forks source link

Does ethercard support IPV6? #210

Closed PatientCoder closed 7 years ago

PatientCoder commented 8 years ago

Does ethercard support IPV6? As far as I know the ENC28J60 is one of the only Arduino boards that supports IPV6. When I look at a sent UDP packet using Wireshark the packet has an IPV6 header then an IPV4 header, then data.

jcw commented 8 years ago

I doubt it. The code is quite old and was written with minimal overhead and code complexity in mind, as far as I can tell. Are you sure it's not some gateway setup or other adding the IPv6 info?

hubertokf commented 8 years ago

NodeMCU works with NodeMCU and so do LoPy, of course, if you can use wifi..

njh commented 8 years ago

uIP (now part of Contiki) supports IPv6.

And there is the UIPEthernet for Arduino, which is based on uIP: https://github.com/ntruchsess/arduino_uip

Sadly that doesn't support IPv6 either.

jcw commented 7 years ago

No, EtherCard has no support for IPv6.

njh commented 7 years ago

Last year I wrote a library called EtherSia that implements IPv6 for Arduino using the ENC28J60 chipset:

https://github.com/njh/ethersia

jcw commented 7 years ago

Hey, great! Might be something to add to the README here, as EtherCard is getting a bit old...

jcw commented 7 years ago

Aw, never mind - already in there - apologies for missing that.