Thomas Kolb
dc8bc98193
The ESP’s IP stack seems not to support UDP packet fragmentation and drops such packets silently which is problematic for setups with many LEDs and huge updates. With this patch, the UDP server processes up to 3 full UDP packets per frame, allowing much larger updates. Additionally, the new END_OF_UPDATE flag allows to signal when a update sequence is finished. If this flag is encountered, no further UDP packets are processed in the current frame. |
||
---|---|---|
animation_test | ||
data | ||
font | ||
include | ||
scripts | ||
src | ||
.gitignore | ||
platformio.ini | ||
README.md |
ESP32 firmware for an SK6812-based lamp
Setup notes
Authentication data for WiFi connections and OTA firmware updates is stored in the SPIFFS. You must create the following files:
data/etc/wlan
This file contains WiFi logins. Each entry consists of two lines: The first line contains the SSID to connect to, the second the password.
data/etc/auth
This file configures the authentication at the device. For now, this is used for OTA updates.
The file contains two lines: First the password, second the salt.
The salt must be known to any client performing OTA updates and can be stored in a local configuration file. The password should never be stored in any config file.