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

Initial power control for hubs #13

Merged
merged 3 commits into from
Feb 22, 2024
Merged

Initial power control for hubs #13

merged 3 commits into from
Feb 22, 2024

Conversation

MrKevinWeiss
Copy link
Contributor

@MrKevinWeiss MrKevinWeiss commented Feb 20, 2024

This implements some basic power control using uhubctl and specific compatible usb hubs.

So far it is only implemented for the commissioner and the update_cache since both of these would need to power on to check.

Probably some cleanup and testing can be done but we need to start somewhere.

The DEFAULT_MAX_ALLOWED_NODES had been set to 14 as real experiments with boards showed bandwidth limitations between 7 (worst case) and 21 (best case).

Only if a location has been setup with power control then it would be used, however, if no locations are set there should be no calls to uhubctl, thus developers should have no impact.

@MrKevinWeiss MrKevinWeiss merged commit ac348f1 into master Feb 22, 2024
4 checks passed
@MrKevinWeiss MrKevinWeiss deleted the pr/powerctrl branch February 22, 2024 11:58
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.

1 participant