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 15th, 2013   #1
sblair
Administrator
 
Join Date: Feb 2006
Posts: 441
Send a message via AIM to sblair Send a message via MSN to sblair
Default

When the controller requests QUEUED_MESSAGES from the device if there are no queued messages to report, the device can then respond back with STATUS_MESSAGES.

In my implementations I would add the error condition to my status messages queue to report back. I keep seperate queues for status messages vs. queued messages.

Since it is a status message I would not increment the queued message count field. When the controller requests QUEUED_MESSAGES then you can report the status message back providing there are no queued messages indicated as pending.

Some controllers may also use the STATUS_MESSAGES PID directly to request status messages rather than relying completely on QUEUED_MESSAGES PID as the delivery. That can be useful if the responder is "chatty" with it's use of queued messages.

If you have an error condition that is important to get back, I would suggest internally prioritizing your use of queued messages so the status message is not always sitting at the back of the bus. In other words queue important messages, but you may choose not to queue up or delay queueing less significant messages until the status message has been delivered.

There are different ways it can be implemented, but this is how I would personally implement it myself.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair 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
Units in Status Messages tomsteer RDM General Implementation Discussion 2 September 26th, 2012 07:44 AM
Sub-Device Status Threshold ericthegeek RDM Interpretation Questions 3 August 15th, 2011 11:29 PM
Status Message Markers hamish RDM General Implementation Discussion 4 December 9th, 2010 11:12 PM
When to use Queued Msg VS Status Msg Mark_C RDM General Implementation Discussion 3 January 12th, 2010 01:08 PM


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


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