#ifndef DEVICE_UDP_H #define DEVICE_UDP_H #include #include static const int com_port = 6996; IPAddress ip; /* Daemon IP */ WiFiUDP Udp; extern void discover_client(const int port); extern void udp_init_packet(IPAddress ip, const int port); extern void udp_push(const void * const data, const size_t size); extern int udp_flush(void); #endif /* DEVICE_UDP_H */