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
Register FAQ Community Calendar Today's Posts Search

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old March 20th, 2011   #11
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 390
Default

> i'm waiting 2.1 ms after the last rx byte and if there is no
> other byte for this time i try to explore the packet - if it is
> correct RDM packet, i will answer to the controller.

This is not correct. You must respond a a request within 2.0ms of receiving the request (table 3-4). If you wait longer than that the controller may consider the response to be lost. You can't use a timeout to reliably detect the end of a request.

For RDM to work, you have to look into the packet as you receive it. After you've received a break followed by 3 bytes, you have to look at the packet data to see if you've received an RDM Startcode (0xCC), Sub-Startcode (0x01), and Length. Once you know the request's length, then you can count how many more data bytes you need to receive.

> If i use this time-out as reference for non-DMX package
> this may be will not work with old DMX system where the
> timing for interslot delay can be 1s?!

You must always be looking for both a break, and a data byte. You don't know ahead of time which you'll receive. When you receive a falling edge, it may be the start bit for the next data byte, or it may be the start of a break.
ericthegeek is offline   Reply With Quote
 

Bookmarks


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
Captured RDM packets chris RDM General Implementation Discussion 2 February 11th, 2009 02:02 PM
Time between controller packets Dan Scheurell RDM Timing Discussion 1 April 1st, 2007 11:38 PM


All times are GMT -6. The time now is 01:05 PM.


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