RF24Ethernet - TCP/IP over RF24Network v1.6.17
TMRh20 - Pushing the practical limits of RF24 modules
|
#include <Arduino.h>
#include "uip-conf.h"
#include "utility/uip.h"
#include "utility/uiptimer.h"
#include "utility/uip_arp.h"
#include "RF24Ethernet_config.h"
#include <RF24.h>
#include <RF24Network.h>
#include <RF24Mesh.h>
#include "ethernet_comp.h"
#include "IPAddress.h"
#include "RF24Client.h"
#include "RF24Server.h"
Go to the source code of this file.
Classes | |
class | RF24EthernetClass |
Macros | |
#define | UIPETHERNET_FREEPACKET 1 |
#define | UIPETHERNET_SENDPACKET 2 |
#define | TAP |
#define | BUF ((struct uip_eth_hdr*)&uip_buf[0]) |
#define | uip_seteth_addr(eaddr) |
#define | uip_ip_addr(addr, ip) memcpy(addr, &ip[0], 4) |
#define | ip_addr_uip(a) IPAddress(a[0] & 0xFF, a[0] >> 8, a[1] & 0xFF, a[1] >> 8) |
#define | uip_seteth_addr(eaddr) |
Typedefs | |
typedef RF24EthernetClass | RF52EthernetClass |
Variables | |
RF24EthernetClass | RF24Ethernet |
Class declaration for RF24Ethernet
Definition in file RF24Ethernet.h.
#define UIPETHERNET_FREEPACKET 1 |
Definition at line 60 of file RF24Ethernet.h.
#define UIPETHERNET_SENDPACKET 2 |
Definition at line 61 of file RF24Ethernet.h.
#define TAP |
Definition at line 64 of file RF24Ethernet.h.
#define BUF ((struct uip_eth_hdr*)&uip_buf[0]) |
Definition at line 67 of file RF24Ethernet.h.
#define uip_seteth_addr | ( | eaddr | ) |
Definition at line 71 of file RF24Ethernet.h.
Referenced by RF24EthernetClass::setMac().
#define uip_ip_addr | ( | addr, | |
ip ) memcpy(addr, &ip[0], 4) |
Definition at line 80 of file RF24Ethernet.h.
Referenced by RF24Client::connect(), and RF24EthernetClass::set_gateway().
#define ip_addr_uip | ( | a | ) | IPAddress(a[0] & 0xFF, a[0] >> 8, a[1] & 0xFF, a[1] >> 8) |
Definition at line 82 of file RF24Ethernet.h.
Referenced by RF24EthernetClass::gatewayIP(), RF24EthernetClass::localIP(), and RF24EthernetClass::subnetMask().
#define uip_seteth_addr | ( | eaddr | ) |
Definition at line 71 of file RF24Ethernet.h.
typedef RF24EthernetClass RF52EthernetClass |
Definition at line 231 of file RF24Ethernet.h.
|
extern |
Referenced by RF24Client::available(), RF24Server::begin(), RF24Client::stop(), and RF24Client::waitAvailable().