RF24Ethernet - TCP/IP over RF24Network
v1.6.12
TMRh20 - Pushing the practical limits of RF24 modules
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
File Members
Loading...
Searching...
No Matches
RF24Server.h
Go to the documentation of this file.
1
/*
2
RF24Server.h - Arduino implementation of a uIP wrapper class.
3
Copyright (c) 2014 tmrh20@gmail.com, github.com/TMRh20
4
Copyright (c) 2013 Norbert Truchsess <norbert.truchsess@t-online.de>
5
All rights reserved.
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef RF24SERVER_H
19
#define RF24SERVER_H
20
21
#include "Server.h"
22
#include "
RF24Client.h
"
23
#include "
ethernet_comp.h
"
24
25
class
RF24Server
:
public
Server
26
{
27
28
public
:
29
RF24Server
(uint16_t);
30
RF24Client
available
();
31
void
begin
();
32
#if defined(ESP32)
33
/* on esp32 this is a pure virtual func */
34
void
begin
(uint16_t port);
35
#endif
36
size_t
write
(uint8_t);
37
size_t
write
(
const
uint8_t* buf,
size_t
size);
38
using
Print::write;
39
void
setTimeout
(uint32_t timeout);
40
41
private
:
42
uint16_t _port;
43
};
44
45
#endif
RF24Client.h
RF24Client
Definition:
RF24Client.h:77
RF24Server
Definition:
RF24Server.h:26
RF24Server::write
size_t write(uint8_t)
Definition:
RF24Server.cpp:67
RF24Server::begin
void begin()
Definition:
RF24Server.cpp:50
RF24Server::available
RF24Client available()
Definition:
RF24Server.cpp:35
RF24Server::setTimeout
void setTimeout(uint32_t timeout)
Definition:
RF24Server.cpp:85
ethernet_comp.h
Generated on Wed Jun 7 2023 00:26:27 for RF24Ethernet - TCP/IP over RF24Network by
1.9.6