E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

Reply
 
Thread Tools Search this Thread Display Modes
Old March 6th, 2011   #1
nomis52
Task Group Member
 
Join Date: May 2010
Location: San Franciscio
Posts: 57
Default RDM Responder Tests are Ready

I've completed most of the work on the E1.20 responder tests now. As you can see from the output below the test suite has 162 tests as well as a bunch of checks for warning and advisory messages. In writing these tests I've found all sorts of cool ways that responders break and/or output garbage .

Code:
----------------- By Category -----------------
                    Control:    8 /  8     100%
                Sub Devices:    1 /  1     100%
              Configuration:    9 /  9     100%
        Product Information:   17 / 17     100%
         Network Management:    4 /  4     100%
         Core Functionality:    2 /  2     100%
           Error Conditions:   86 / 86     100%
           Display Settings:    4 /  4     100%
               DMX512 Setup:    9 /  9     100%
      Power / Lamp Settings:   12 / 12     100%
                    Sensors:    6 /  6     100%
          Status Collection:    2 /  2     100%
-----------------------------------------------
160 / 162 tests run, 160 passed, 0 failed, 0 broken

Sometime in the future I'll start adding the E1.37 PIDs. In the meantime if anyone wants to run them for themselves information is here: http://opendmx.net/index.php/RDM_Responder_Testing

Now here's the challenge for everyone: I haven't found a device yet that can pass every test. The output above is from my software emulated responder.

Simon
nomis52 is offline   Reply With Quote
Old March 17th, 2011   #2
mike_k
Task Group Member
 
Join Date: May 2009
Location: Gothenburg
Posts: 40
Default

Quote:
Originally Posted by nomis52 View Post
I haven't found a device yet that can pass every test.
One interesting question, is it considered "not passing" if the responder is forgiving? For instance, not NACKing a GET:DEVICE_LABEL with a PDL > 0?
__________________
Michael Karlsson
LumenRadio AB
mike_k is offline   Reply With Quote
Old March 17th, 2011   #3
nomis52
Task Group Member
 
Join Date: May 2010
Location: San Franciscio
Posts: 57
Default

Responding with an ACK where too much data is provided (like the example you provided) will result in a warning but not a test failure. Responding to a PID that requires data with an ACK generates a test failure.

The reasoning is this: while many would argue that responders should be liberal in what the accept, this can be taken too far. The problems that we face today with browser standards are an example of this, if the early browsers had been much stricter in parsing html we wouldn't be in the mess that we're in.

By being strict, responders can expose bugs in controllers that would otherwise go unnoticed. It's particularly bad in that if you have a liberal responder & buggy controller, introducing a strict controller into the rig will cause people to blame the wrong device.

If RDM were further along I'd have a different opinion but given how early we are in adoption, I want to try and enforce strictness now. Ideally a device would have a custom PID ENABLE_STRICT_MODE (default:True) which would control the level of strictness.

Anyway, that's enough from me. We do have the first responder that passes all tests now - a Creative Lighting Slammo dimmer : http://creativelighting.com.au/index...d=13&Itemid=31
nomis52 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
Any RDM Responder Devices out there yet? sblair RDM Marketplace Discussion 8 September 20th, 2006 06:03 AM


All times are GMT -6. The time now is 12:21 AM.


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