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

Changing channel preset over admin channel fails on congested networks #662

Closed
jonootto opened this issue Aug 30, 2024 · 5 comments · Fixed by #668
Closed

Changing channel preset over admin channel fails on congested networks #662

jonootto opened this issue Aug 30, 2024 · 5 comments · Fixed by #668

Comments

@jonootto
Copy link

jonootto commented Aug 30, 2024

Attempting to set the channel preset over admin channel goes into a loop of requesting channel information which almost inevitably times out in a congested mesh, is this necessary? Could an option be added to skip fetching current config?

meshtastic --host 192.168.1.10 --dest '!xxx' --ch-shortfast
Connected to radio
Requesting channel 0 info from remote node (this could take a while)
Requesting channel 1 info from remote node (this could take a while)
Requesting channel 2 info from remote node (this could take a while)

@jonootto
Copy link
Author

This was after about 20 attempts where the majority hung on channel 0, none successfully got the point of sending the new config

@rcarteraz
Copy link
Member

Attempting to set the channel preset over admin channel goes into a loop of requesting channel information which almost inevitably times out in a congested mesh, is this necessary? Could an option be added to skip fetching current config?

meshtastic --host 192.168.1.10 --dest '!xxx' --ch-shortfast
Connected to radio
Requesting channel 0 info from remote node (this could take a while)
Requesting channel 1 info from remote node (this could take a while)
Requesting channel 2 info from remote node (this could take a while)

Can only use --get and --set commands over admin. You’ll need to use --set lora.modem_preset

@ianmcorvidae
Copy link
Contributor

I think those --ch-x commands should be able to work over admin too, but I don't know why they're requesting every channel. I'll need to check if they're doing something other than just setting the preset but hopefully we can disable the channel fetching at least. Until then, using --set is a good idea, since it'll only need to fetch the config for that.

@jonootto
Copy link
Author

Thanks folks, confirm the --set option has worked fine, do you want to keep this open to look into the --ch commands?

@ianmcorvidae
Copy link
Contributor

Yeah, I'd like to check on those still. If they're really just setting the preset, maybe we can streamline some stuff. If they're doing more, we should document the differences, so either way let's leave this open, and thanks for the report!

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