Skip to content

Instantly share code, notes, and snippets.

@abelmatser
abelmatser / a2dp-agent.py
Created May 19, 2021 15:12
a2dp-agent ported to python 3
#!/usr/bin/python3
import sys
import dbus
import dbus.service
import dbus.mainloop.glib
from gi.repository import GLib
AGENT_INTERFACE = "org.bluez.Agent1"
AGENT_PATH = "/test/agent"