diff options
-rwxr-xr-x | hcid/dbus-test | 54 |
1 files changed, 42 insertions, 12 deletions
diff --git a/hcid/dbus-test b/hcid/dbus-test index d47b7ddd..a092affe 100755 --- a/hcid/dbus-test +++ b/hcid/dbus-test @@ -9,22 +9,52 @@ import getopt from signal import * mgr_cmds = [ "ListDevices", "DefaultDevice" ] -dev_cmds = [ "GetAddress", "GetManufacturer", "GetVersion", "GetRevision", - "GetCompany", "GetMode", "SetMode", "GetDiscoverableTimeout", - "SetDiscoverableTimeout", "IsConnectable", "IsDiscoverable" , - "GetName", "SetName", "GetServiceClasses", "GetMajorClass", - "GetMinorClass", "SetMinorClass", "GetRemoteVersion", "GetRemoteName", - "GetRemoteAlias", "SetRemoteAlias", "LastSeen", "LastUsed", - "CreateBonding", "RemoveBonding", "HasBonding", "ListBondings", - "PinCodeLength", "EncryptionKeySize" ] mgr_signals = [ "DeviceAdded", "DeviceRemoved" ] -dev_signals = [ "ModeChanged", "NameChanged" , "MinorClassChanged", - "RemoteAliasChanged", "RemoteNameChanged" ] + +dev_cmds = [ "GetAddress", + "GetVersion", + "GetRevision", + "GetManufacturer", + "GetCompany", + "GetFeatures", + "GetMode", + "SetMode", + "GetDiscoverableTimeout", + "SetDiscoverableTimeout", + "IsConnectable", + "IsDiscoverable", + "GetMajorClass", + "GetMinorClass", + "SetMinorClass", + "GetServiceClasses", + "GetName", + "SetName", + "GetRemoteVersion", + "GetRemoteRevision", + "GetRemoteManufacturer", + "GetRemoteCompany", + "GetRemoteName", + "GetRemoteAlias", + "SetRemoteAlias", + "LastSeen", + "LastUsed", + "CreateBonding", + "RemoveBonding", + "HasBonding", + "ListBondings", + "PinCodeLength", + "GetServiceClasses", + "EncryptionKeySize" ] +dev_signals = [ "ModeChanged", + "NameChanged", + "MinorClassChanged", + "RemoteNameChanged", + "RemoteAliasChanged" ] + dev_signals_filter = [ "/org/bluez/Device/hci0", "/org/bluez/Device/hci1", "/org/bluez/Device/hci2", "/org/bluez/Device/hci3", "/org/bluez/Device/hci4", "/org/bluez/Device/hci5", - "/org/bluez/Device/hci6", "/org/bluez/Device/hci7", - "/org/bluez/Device/hci8", "/org/bluez/Device/hci9" ] + "/org/bluez/Device/hci6", "/org/bluez/Device/hci7" ] class Tester: exit_events = [] |