fix: Adjust agent path and add agent initialization log

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2025-12-30 19:57:27 +00:00
parent 4fdc6042dc
commit 19cf54b2c2

View File

@@ -24,12 +24,13 @@ ADAPTER_IFACE = 'org.bluez.Adapter1'
DEVICE_IFACE = 'org.bluez.Device1'
AGENT_IFACE = 'org.bluez.Agent1'
AGENT_MANAGER_IFACE = 'org.bluez.AgentManager1'
AGENT_PATH = '/dev/what/agent'
AGENT_PATH = '/io/bluetooth_speaker/agent'
CAPABILITY = 'NoInputNoOutput'
class Agent(ServiceInterface):
def __init__(self, interface_name):
super().__init__(interface_name)
logging.info('Agent instance created')
@method()
def Release(self):