DIY-Multiprotocol-TX-Module icon indicating copy to clipboard operation
DIY-Multiprotocol-TX-Module copied to clipboard

DSM_RX no retry for CH2

Open micronrc opened this issue 2 years ago • 1 comments

Hi

I am trying to use DSM_RX with several DSMX transmitters and getting very poor results. Turning on DEBUG shows that reception of CH2 (phase = DSM_RX_DATA_CH2) fails almost all the time. Looking at the code there is no retry, it simply flips back to CH1 for a read fail. CH1 has 6 retries before giving up.

My question for those more expert in the protocol code than I - is there a reason why no retries are attempted for CH2?

I copied the 'read_retry' code from DSM_RX_DATA_CH1 to DSM_RX_DATA_CH2 and now I get much better receiption of CH2.

-- Andy

micronrc avatar Aug 27 '23 18:08 micronrc

This is strange since there is a retry on CH1 to sync the RX with the TX. As soon as the RX is in sync, the retry should be useless since the TX should send packets on a regular interval, unless the DSMX TXs are doing a bad job...

pascallanger avatar Oct 30 '23 13:10 pascallanger