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

MMDVM stuck in FM mode on mqtt branch #339

Open
ke5gdb opened this issue Nov 17, 2023 · 3 comments
Open

MMDVM stuck in FM mode on mqtt branch #339

ke5gdb opened this issue Nov 17, 2023 · 3 comments

Comments

@ke5gdb
Copy link

ke5gdb commented Nov 17, 2023

This line causes a feedback loop with MMDVMHost. CFM::reset() is called when MMDVMHost asserts MMDVM_SET_MODE to IDLE, but serial.writeFMStatus() will cause MMDVMHost to assert the mode back into FM. Ultimately this locks the modem in FM mode.

https://github.com/g4klx/MMDVM/blame/a8bf99037ec31546321a6fc69e355f77d9d1aaef/FM.cpp#L391

I commented on the line here in the commit, but this comment is likely not the correct medium, hence the new issue.

7ef0d99#r132809346

73 de KE5GDB

@g4klx
Copy link
Owner

g4klx commented Nov 18, 2023 via email

@bi7jta
Copy link

bi7jta commented Jan 12, 2024

Hi @g4klx Jonathan ,
I got this problem "stuck in FM mode" when I Not set the configuration in mmdvmhost,

[FM] ... ModeHang=10

Do you think it is a good idea to add default ModeHang (Not Infinity), in firmware or in MMDVMHost?

Thank you very much!

DE BI7JTA

@g4klx
Copy link
Owner

g4klx commented Jan 12, 2024

Can you try the latest MMDVM firmware, this issue is fixed with it.

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

No branches or pull requests

3 participants