Add Art-Net support (#417)

This commit is contained in:
cschwinne
2020-04-13 00:42:27 +02:00
parent 3006d25406
commit e12757dbb9
16 changed files with 325 additions and 295 deletions

View File

@@ -42,7 +42,7 @@ void initDMX();
void handleDMX();
//e131.cpp
void handleE131Packet(e131_packet_t* p, IPAddress clientIP);
void handleE131Packet(e131_packet_t* p, IPAddress clientIP, bool isArtnet);
//file.cpp
bool handleFileRead(AsyncWebServerRequest*, String path);
@@ -103,12 +103,6 @@ void handleNightlight();
bool initMqtt();
void publishMqtt();
//notify.cpp
void notify(byte callMode, bool followUp=false);
void arlsLock(uint32_t timeoutMs, byte md = REALTIME_MODE_GENERIC);
void handleNotifications();
void setRealtimePixel(uint16_t i, byte r, byte g, byte b, byte w);
//ntp.cpp
void handleNetworkTime();
void sendNTPPacket();
@@ -140,6 +134,12 @@ bool handleSet(AsyncWebServerRequest *request, const String& req);
int getNumVal(const String* req, uint16_t pos);
bool updateVal(const String* req, const char* key, byte* val, byte minv=0, byte maxv=255);
//udp.cpp
void notify(byte callMode, bool followUp=false);
void realtimeLock(uint32_t timeoutMs, byte md = REALTIME_MODE_GENERIC);
void handleNotifications();
void setRealtimePixel(uint16_t i, byte r, byte g, byte b, byte w);
//usermod.cpp
void userSetup();
void userConnected();