46 virtual uint16_t
sendFrame(
const uint8_t *data, uint16_t datalen);
55 virtual uint16_t
readFrame(uint8_t *buffer, uint16_t bufsize);
64 char ifname[IFNAMSIZ];
virtual void end()
Close the raw ethernet socket.
virtual uint16_t sendFrame(const uint8_t *data, uint16_t datalen)
Send an Ethernet frame.
boolean begin()
Configure the Ethernet interface and get things ready.
Definition: EtherSia.cpp:21
Main header file for EtherSia - include this in your project.
EtherSia_LinuxSocket(const char *iface=NULL)
Constructor.
Main class for sending and receiving IPv6 messages using the ENC28J60 Ethernet controller.
Definition: EtherSia.h:52
Class for the storage and manipulation of 48-bit Ethernet addresses.
Definition: MACAddress.h:15
virtual uint16_t readFrame(uint8_t *buffer, uint16_t bufsize)
Read an Ethernet frame.
Run EtherSia on Linux using a raw socket to Send and receive Ethernet frames Not intended for use wit...
Definition: LinuxSocket.h:19