View Single Post
Old February 18th, 2021   #2
bootress
Task Group Member
 
Join Date: Jul 2018
Location: Madison, WI
Posts: 5
Default

Hey Matteo,

I maintain ETC's RDMnet implementation and examples. There is no rule in the standard that mandates a maximum request rate or flow control for RDM messages, and in fact such a rule would be overly limiting for purely network-based RDMnet communication.

The good news is that RDMnet uses TCP for its underlying transport, which has built-in flow control. To throttle the rate of requests from a controller, simply pause reading your TCP socket when your local message buffer gets full. This will cause data to back up in the TCP queues on the controller and broker and eventually will cause the controller's send requests to block until your device is ready to handle them. TCP's guarantees of reliable and ordered delivery will ensure that all of the requests will eventually get through as long as everything stays connected.

Let me know if you have questions.
__________________
Sam Kearney
Software Engineer
ETC Inc.
bootress is offline   Reply With Quote