pytest_bluezenv.Agent.device_method#

Agent.device_method(address, method, *a, **kw)[source]#

Call given org.bluez.Device1 DBus method

Parameters:
  • address (str) – bdaddr of target device

  • method (str) – name of DBus method, without interface prefix

  • *a – argument passed to the DBus method call

  • **kw

    argument passed to the DBus method call

Events:

Event(kind=”org.bluez.Device1.{method}:reply”)