E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM Interpretation Questions

RDM Interpretation Questions Discussion and questions relating to interpreting and understanding the E1.20 RDM Standard.

Reply
 
Thread Tools Search this Thread Display Modes
Old September 18th, 2006   #1
p_richart
Junior Member
 
Join Date: Sep 2006
Location: Colorado Springs
Posts: 6
Default Sub-device response to SET/GET DMX512 start address

Hello all!

I'm working on a device with sub-devices and wonder if anyone can tell me how I should respond to a 'SET DMX512 start address' PID that is sent to a particular device with the sub-device field set to 0xFFFF (SUB_DEVICE_ALL_CALL)? After I set all subdevices to the same address do I respond with 0xFFFF in the sub-device field? Or do I not respond at all since it is an all call?

Also, slightly more confusing for me, how do I respond to a GET 'DMX512 Start Address' PID where one device is identified (not a broadcast command) but the sub-device field is loaded with SUB_DEVICE_ALL_CALL? Only one address will fit in the PD for this response but each of my subdevice's addresses could be different.

Thanks!
Patrick Richart
p_richart is offline   Reply With Quote
Old September 18th, 2006   #2
sblair
Administrator
 
Join Date: Feb 2006
Posts: 417
Send a message via AIM to sblair Send a message via MSN to sblair
Default

Patrick,

For Question #1:
It is expected that messages sent to a SUB_DEVICE_ALL_CALL for a specific UID respond back to the controller. Since you are communicating to a specific UID, there aren't any collision issues that you would have using an ALL_CALL with other root devices.

You'll see in the message templates for the Controller and Response messages that 0xFFFF is included in the Sub-Device field as valid for response messages.

For Question #2:
For a GET sent to all the SUB_DEVICE_ALL_CALL the answer is a little less clear. There is no defined behavior I can think of that specifies a useful response here. It's kind of a non-sensical request to get from a controller for some devices.

Some options you have:
  • If you have determined that all your devices in fact have the same value for all sub-devices you could respond with the actual data value with the SUB_DEVICE_ALL_CALL.
  • You could Queue up messages for ALL the Sub-devices and return them one at a time with the QUEUED_MESSAGE request. Could be a bit messy though.
  • Probably the safest thing I can think of would be to NACK it with NR_SUB_DEVICE_OUT_OF_RANGE, that way there is no confusion about what you're going to do with that GET request for all the sub-devices.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair is offline   Reply With Quote
Old September 29th, 2006   #3
prwatE120
Task Group Member
 
Join Date: Jun 2006
Posts: 180
Default

Patrick

For Question #2

I favour Scotts third option - use of the NACK with NR_SUB_DEVICE_OUT_OF_RANGE
prwatE120 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
When is a different start code allowed? berntd RDM General Implementation Discussion 6 September 16th, 2008 03:00 PM
Mute Response Question sondericker RDM Interpretation Questions 13 January 21st, 2007 10:14 AM
Discovery Response Preamble prwatE120 RDM General Implementation Discussion 0 January 20th, 2007 12:22 AM
Device Models Andy Macdonald RDM Interpretation Questions 4 October 17th, 2006 05:57 AM
Welcome to the DMX512 Discussion Forum sblair DMX512 Discussion 0 May 31st, 2006 11:10 PM


All times are GMT -6. The time now is 01:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.