Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSM_RX no retry for CH2 #878

Open
micronrc opened this issue Aug 27, 2023 · 1 comment
Open

DSM_RX no retry for CH2 #878

micronrc opened this issue Aug 27, 2023 · 1 comment

Comments

@micronrc
Copy link

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

@pascallanger
Copy link
Owner

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants