Skip to content

Commit

Permalink
change order
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves BAZIN authored and Yves BAZIN committed Jan 6, 2021
1 parent 5689624 commit 5c1ee62
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions UdpArtnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,12 @@
#include <cbuf.h>

class WiFiUDPArtnet: public UDP {
private:
//switch to public instead of private
IPAddress multicast_ip;
IPAddress remote_ip;
uint16_t server_port;
uint16_t remote_port;
char * tx_buffer;
size_t tx_buffer_len;
cbuf * rx_buffer;

public:
int udp_server;

WiFiUDPArtnet();
~WiFiUDPArtnet();
int udp_server;
uint8_t begin(IPAddress a, uint16_t p);
uint8_t begin(uint16_t p);
uint8_t beginMulticast(IPAddress a, uint16_t p);
Expand All @@ -85,6 +78,16 @@ class WiFiUDPArtnet: public UDP {
void flush();
IPAddress remoteIP();
uint16_t remotePort();

private:
//switch to public instead of private
IPAddress multicast_ip;
IPAddress remote_ip;
uint16_t server_port;
uint16_t remote_port;
char * tx_buffer;
size_t tx_buffer_len;
cbuf * rx_buffer;
};


Expand Down

0 comments on commit 5c1ee62

Please sign in to comment.