132#if !defined(RF24_TAP)
137#if defined NRF52_RADIO_LIBRARY
138 #if !defined(RF24_TAP)
159 void begin(IP_ADDR myIP, IP_ADDR subnet);
165 void begin(IPAddress ip);
166 void begin(IPAddress ip, IPAddress dns);
167 void begin(IPAddress ip, IPAddress dns, IPAddress gateway);
168 void begin(IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);
178 void listen(uint16_t port);
187 void setMac(uint16_t address);
213#if defined NRF52_RADIO_LIBRARY
219#if !defined NRF52_RADIO_LIBRARY
221 #if !defined(RF24_TAP)
226 #if !defined(RF24_TAP)
249 static bool isUnicast(
const uint8_t frame);
256 static constexpr uint16_t ETHERNET_MTU = 1500;
257 static constexpr uint8_t MacAddr[6] = {0, 1, 2, 3, 4};
258 static bool isConnected;
260 static pbuf* readRXQueue(EthQueue*
RXQueue);
262 static void EthRX_Handler(
const uint8_t* ethFrame,
const uint16_t lenEthFrame);
263 alignas(4)
static uint8_t networkBuffer[MAX_PAYLOAD_SIZE];
268 IPAddress _dnsServerAddress;
270 static IPAddress _dnsServerAddress;
273 void configure(IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);
279 static void network_send();
281 uint8_t RF24_Channel;
284 struct timer periodic_timer;
286 struct timer arp_timer;