Support dmx rdm personality change

This commit is contained in:
Arne
2023-08-22 22:09:21 +02:00
parent 6f61c8cda9
commit 03b164f94c
3 changed files with 40 additions and 15 deletions

View File

@@ -30,10 +30,14 @@ private:
dmx_config_t createConfig() const;
//is invoked whenver the dmx start address is changed via rdm
// is invoked whenver the dmx start address is changed via rdm
friend void rdmAddressChangedCb(dmx_port_t dmxPort, const rdm_header_t *header,
void *context);
// is invoked whenever the personality is changed via rdm
friend void rdmPersonalityChangedCb(dmx_port_t dmxPort, const rdm_header_t *header,
void *context);
uint8_t inputPortNum = 255; // TODO make this configurable
/// True once the dmx input has been initialized successfully
bool initialized = false; // true once init finished successfully