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

Enable & disable technologies #15

Open
GrbavaCigla opened this issue Oct 6, 2020 · 1 comment
Open

Enable & disable technologies #15

GrbavaCigla opened this issue Oct 6, 2020 · 1 comment

Comments

@GrbavaCigla
Copy link

There doesn't seem to be any disable/enable technology implementation.

@jmagnuson
Copy link
Owner

Thanks! It looks like the intent is to modify the Powered property for enabling/disabling technologies. connmanctl does similarly in cmd_enable(). But it definitely would be a useful API to have here-- I could see Technology::enable/disable working, since it would already be guaranteed to exist via Manager::get_technologies. The only question (which applies to all properties) is how to handle updating the stale state of the existing Technology instance.

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

2 participants