someweisguy / esp_dmx

Espressif ESP32 implementation of ANSI-ESTA E1.11 DMX-512A and E1.20 RDM
MIT License
307 stars 30 forks source link

Fix UART Logic #122

Closed someweisguy closed 5 months ago

someweisguy commented 5 months ago

This PR overhauls the UART read/write logic of the DMX driver. It removes the legacy logic which was based on the original DMX driver which didn't support RDM and replaces it with logic which tracks DMX/RDM transactions. A DMX or RDM transaction is a single interaction between a DMX or RDM controller and a DMX or RDM responder. The controller sends a command packet and the responder may send an optional response packet.