Agent.device_method#
- Agent.device_method(address, method, *a, **kw)[source]#
Call given org.bluez.Device1 DBus method.
- Parameters:
address (
str) – bdaddr of target devicemethod (
str) – name of DBus method, without interface prefix*a – positional arguments passed to the DBus method call
**kw – keyword arguments passed to the DBus method call
- Events:
Event(kind=”org.bluez.Device1.{method}:reply”) or Event(kind=”org.bluez.Device1.{method}:error”). Their payload is as in
object_method.