2020-03-25 09:00:55 +01:00
|
|
|
#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"
|
2020-03-25 09:00:55 +01:00
|
|
|
#include "const.h"
|
|
|
|
/*
|
|
|
|
* UDP notifier
|
|
|
|
*/
|
2020-03-25 10:14:23 +01:00
|
|
|
//union e131_packet_t; // Will this compile?
|
2020-03-25 09:00:55 +01:00
|
|
|
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
|