E1.20 RDM (Remote Device Management) Protocol Forums

E1.20 RDM (Remote Device Management) Protocol Forums (http://www.rdmprotocol.org/forums/index.php)
-   RDM General Implementation Discussion (http://www.rdmprotocol.org/forums/forumdisplay.php?f=4)
-   -   SubDevice Required PIDs (http://www.rdmprotocol.org/forums/showthread.php?t=1199)

LarryDew March 25th, 2014 02:15 PM

SubDevice Required PIDs
 
What PID if any, is required to be supported by an SubDevice. The spec says that Supported Parameters is only required if the root has supported parameters. I would interpret the spec to mean "Required" for the root and all sub-devices. How can the controller determine which SubDevices are valid since they do not have to be consecutively numbered between 1 and Sub-device_Count? To me the would Required means each device not just the root.

ericthegeek March 25th, 2014 08:27 PM

This thread covers the required parameters for a Sub-Device.
http://www.rdmprotocol.org/forums/showthread.php?t=1034

To find the subdevices that exist, really all you can do is send a GET DEVICE_INFO (or other similar PID) to every sub-device starting with 1 and work your way up until you find all of the sub-devices that the responder reports. If the responder returns a NACK with NR_SUB_DEVICE_OUT_OF_RANGE, you can conclude that subdevice does not exist and move on to try the next one.

There's been some discussion of adding a PID that will retrieve a packed list of sub-devices in the future, but it doesn't exist yet.


All times are GMT -6. The time now is 09:41 PM.

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