32 #define UIP_UDP_MAXDATALEN 1500
33 #define UIP_UDP_PHYH_LEN UIP_LLH_LEN + UIP_IPUDPH_LEN
34 #define UIP_UDP_MAXPACKETSIZE UIP_UDP_MAXDATALEN + UIP_UDP_PHYH_LEN
47class RF24UDP :
public UDP
50 struct uip_udp_conn* _uip_udp_conn;
52 uip_udp_userdata_t appdata;
62 uint8_t begin(uint16_t);
73 int beginPacket(IPAddress ip, uint16_t port);
79 int beginPacket(
const char* host, uint16_t port);
88 size_t write(uint8_t);
91 size_t write(
const uint8_t* buffer,
size_t size);
111 int read(
unsigned char* buffer,
size_t len);
117 int read(
char* buffer,
size_t len)
119 return read((
unsigned char*)buffer, len);
129 IPAddress remoteIP();
132 uint16_t remotePort();
139 static void _send(uip_udp_userdata_t* data);
void uipudp_appcall(void)