|
RDM Interpretation Questions Discussion and questions relating to interpreting and understanding the E1.20 RDM Standard. |
|
Thread Tools | Search this Thread | Display Modes |
February 24th, 2016 | #1 |
Task Group Member
Join Date: Jun 2006
Posts: 181
|
Response to GET:QUEUED MESSAGE when NACKing query
If a controller sends a GET:QM to a responder, what PID should appear in the responders reply when the responder is NACKing the query?
Reasons for the NACK might be Format Error, Data out of Range etc. |
February 24th, 2016 | #2 |
Task Group Member
Join Date: Aug 2008
Posts: 375
|
I ran into this when I was implementing queued messages also.
My conclusion is that if you are NACK'ing the GET QM, then you should have the QM PID in the response. If the controller sees another PID in the response (say IDENTIFY_DEVICE), then it will assume that it just retrieved a queued NACK for an Identify that it sent in the past, rather than realizing that it's actually a NACK for the GET QM. A controller probably should accept STATUS_MESSAGES in the PID also, although in my implementation I only put the STATUS_MESSAGES PID in the response when I'm ACK'ing a GET:QM. |
February 24th, 2016 | #3 |
Administrator
|
Agree with Eric here. The only logical thing to respond in the NACK with is QM.
__________________
Scott M. Blair RDM Protocol Forums Admin |
February 24th, 2016 | #4 |
Task Group Member
Join Date: Jun 2006
Posts: 181
|
I have also coded along the lines that Eric has, and reply with QM as the PID in the NACK.
We might all think it is logical, but it is not defined behaviour as per the E1.20 document, which states the response to a QM shall be a STATUS_MESSAGE response. 10.3.1 "A responder with no messages queued shall respond to a QUEUED_MESSAGE message with a STATUS_MESSAGES response. " Where do we state that this does not apply to a NACK from a responder with no messages queued ? Are we happy to allow either PID in NACK responses, and add this behaviour to an E1.20 erratta ? |
Bookmarks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
E1.37-1 RDM Message Extensions document in Public Review | sblair | RDM General Implementation Discussion | 2 | December 13th, 2010 03:11 PM |
Status Message Markers | hamish | RDM General Implementation Discussion | 4 | December 9th, 2010 11:12 PM |
Additional Status Message ID request? | berntd | RDM General Implementation Discussion | 3 | October 28th, 2009 07:28 PM |