WLED/wled00/wled_notify.h

18 lines
535 B
C
Raw Normal View History

#ifndef WLED_NOTIFY_H
#define WLED_NOTIFY_H
#include <Arduino.h>
2020-03-25 10:43:12 +01:00
#include "src/dependencies/e131/ESPAsyncE131.h"
#include "const.h"
/*
* UDP notifier
*/
2020-03-25 10:14:23 +01:00
//union e131_packet_t; // Will this compile?
class IPAddress;
void notify(byte callMode, bool followUp=false);
void arlsLock(uint32_t timeoutMs, byte md = REALTIME_MODE_GENERIC);
void handleE131Packet(e131_packet_t* p, IPAddress clientIP);
void handleNotifications();
void setRealtimePixel(uint16_t i, byte r, byte g, byte b, byte w);
#endif // WLED_NOTIFY_H