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:
3
main.py
3
main.py
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user