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

Support switching mesh radio on multi-radio devices #847

Merged
merged 4 commits into from
May 26, 2023

Conversation

aanon4
Copy link
Contributor

@aanon4 aanon4 commented May 24, 2023

No description provided.

@aanon4 aanon4 requested review from dman776 and ae6xe May 24, 2023 07:14
Copy link
Contributor

@ab7pa ab7pa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment about missing "=" in the test on line 173. Once that is added, the feature works as designed. Thanks very much, @aanon4

@@ -170,7 +170,9 @@ do
end

if cfg.wifi_enable == "1" then
cfg.wifi_intf = aredn.hardware.get_board_network_ifname("wifi"):match("^(%S+)")
if not cfg.wifi_intf or cfg.wifi_intf = "" then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a missing "=" in the if statement on line 173.
Should be if not cfg.wifi_intf or cfg.wifi_intf == "" then
Once that is added, the rest of the feature works as designed.

@ab7pa
Copy link
Contributor

ab7pa commented May 24, 2023

Also, for some reason the new Mesh RF link is not showing up on the Neighbor Status page

@aanon4
Copy link
Contributor Author

aanon4 commented May 24, 2023

@ab7pa Nice catch, thanks. Fix it.

@aanon4 aanon4 marked this pull request as draft May 24, 2023 15:10
@aanon4
Copy link
Contributor Author

aanon4 commented May 24, 2023

@ab7pa Thanks - looks like there are a few more places I need to review for where the default mesh radio is hard coded. I'll keep this in draft until I'm done with that.

@ab7pa
Copy link
Contributor

ab7pa commented May 24, 2023

BTW did I mention that this is an AWESOME FEATURE! :)

@aanon4 aanon4 marked this pull request as ready for review May 25, 2023 05:43
@aanon4
Copy link
Contributor Author

aanon4 commented May 25, 2023

Okay, backup for review after a few fixes.

Copy link
Contributor

@ab7pa ab7pa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! That fixes all the issues. Thanks very much, @aanon4 Tim!

@aanon4 aanon4 merged commit 4e621ba into aredn:main May 26, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants