This Arduino sketch demonstrates reading and writing raw Ethernet frames using the Wiznet W5100 ethernet controller.
- When a packet is received it prints the Ethernet headers to Serial.
- If the packet is of the special EtherType 0x88B5, then it sends a reply back to the sender, while incrementing an 8-bit counter
Also included in the
sendeth directory, is some Linux code for sending and receiving Ethernet frames to the Arduino.
The code is licenses under the 3-clause BSD license, the same as the ioLibrary driver.