WLED/wled00/notify.h

18 lines
518 B
C
Raw Normal View History

2020-03-28 13:30:51 +01:00
#ifndef WLED_NOTIFY_H
#define WLED_NOTIFY_H
#include <Arduino.h>
#include "src/dependencies/e131/ESPAsyncE131.h"
#include "const.h"
/*
* UDP notifier
*/
//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