7 #ifndef EthernetTransceiver_h
8 #define EthernetTransceiver_h
10 #include "Transceiver.h"
12 #include <EthernetUdp.h>
13 #include <IPAddress.h>
50 virtual void sendReply(uint8_t* msg, uint16_t len);
55 byte _thisMACaddress[6];
58 IPAddress _thisIpAddress;
61 unsigned int _thisPort;
64 char _packetBuffer[UDP_TX_PACKET_MAX_SIZE];
#define RCOIP_DEFAULT_RECEIVER_UDP_PORT
Definition: RCOIP.h:180
Defines an Ethernet RCOIP Transceiver.
Definition: EthernetTransceiver.h:25
virtual void init()
Definition: EthernetTransceiver.cpp:24
EthernetTransceiver(byte *macaddress, IPAddress *ipaddress, unsigned int port=RCOIP_DEFAULT_RECEIVER_UDP_PORT)
Definition: EthernetTransceiver.cpp:16
virtual void sendReply(uint8_t *msg, uint16_t len)
Definition: EthernetTransceiver.cpp:46
Abstract base class for a transceiver device that will send and receive messages on behalf of RCRx cl...
Definition: Transceiver.h:25
virtual void receivedRequest(uint8_t *msg, uint16_t len, uint16_t rssi=0)
Definition: Transceiver.cpp:18
virtual void run()
Definition: EthernetTransceiver.cpp:32