You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I also have seen the code for rdm_register_disc_unique_branch in discovery.c and tried to undestand it but.....no way, my device isn't recognized by an RDM console so I must be somewhere mistaken.
Could you, please, provide an example for an RDM responder (a lighting fixture in my case) to handle the discovery/mute/unmute/set_address as if we were responding to a console ?
For instance, I'm working on a custom esp32-s3 board using your library (platformio/arduino framework), it works pretty well in DMX but now I need the RDM step.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Mitch,
I'm struggling to write the right code for responding to the rdm discovery requests.
I've found the default registration in dmx/driver.c that look like this:
// Register the default RDM parameters
rdm_register_disc_unique_branch(dmx_num, NULL, NULL);
rdm_register_disc_mute(dmx_num, NULL, NULL);
rdm_register_disc_un_mute(dmx_num, NULL, NULL);
rdm_register_device_info(dmx_num, config->model_id, config->product_category, config->software_version_id, NULL, NULL);
rdm_register_software_version_label(dmx_num, config->software_version_label,NULL, NULL);
rdm_register_identify_device(dmx_num, rdm_default_identify_cb, NULL);
and I also have seen the code for rdm_register_disc_unique_branch in discovery.c and tried to undestand it but.....no way, my device isn't recognized by an RDM console so I must be somewhere mistaken.
Could you, please, provide an example for an RDM responder (a lighting fixture in my case) to handle the discovery/mute/unmute/set_address as if we were responding to a console ?
For instance, I'm working on a custom esp32-s3 board using your library (platformio/arduino framework), it works pretty well in DMX but now I need the RDM step.
Thanks!
Max
Beta Was this translation helpful? Give feedback.
All reactions