feat(dbus): Add Bluetooth configuration functionality
Introduce functionality to enable, disable, and check the status and availability of Bluetooth devices using the `configure_bluetooth` method. Integrate Bluetooth configuration into the feature management system by mapping it in `interface_config.py`.
This commit is contained in:
@@ -8,6 +8,7 @@ from logging import getLogger
|
||||
from .revpi_config import (
|
||||
ConfigActions,
|
||||
configure_avahi_daemon,
|
||||
configure_bluetooth,
|
||||
configure_con_can,
|
||||
configure_dphys_swapfile,
|
||||
configure_external_antenna,
|
||||
@@ -92,7 +93,7 @@ AVAILABLE_FEATURES = {
|
||||
simple_systemd, ["noderedrevpinodes-server.service"]
|
||||
),
|
||||
"revpipyload": FeatureFunction(simple_systemd, ["revpipyload.service"]),
|
||||
"bluetooth": False,
|
||||
"bluetooth": FeatureFunction(configure_bluetooth, []),
|
||||
"ieee80211": FeatureFunction(configure_wifi, []),
|
||||
"avahi": FeatureFunction(configure_avahi_daemon, []),
|
||||
"external-antenna": FeatureFunction(configure_external_antenna, []),
|
||||
|
||||
Reference in New Issue
Block a user