BlueZ D-Bus Adapter API description *********************************** Copyright (C) 2006-2008 Marcel Holtmann Copyright (C) 2005-2006 Johan Hedberg Copyright (C) 2005-2006 Claudio Takahasi Copyright (C) 2005-2006 Eduardo Rocha Copyright (C) 2008-2008 Luiz von Dentz Adapter hierarchy ================= Service org.bluez Interface org.bluez.Adapter Object path /org/bluez/{hci0,hci1,...} Methods dict GetProperties() TBD void SetProperty(string name, variant value) TBD array{object} ListDevices() TBD void DiscoverDevices() This method starts the device discovery procedure. This includes an inquiry procedure and remote device name resolving. On start up this process will generate a DiscoveryStarted signal and then return RemoteDeviceFound and also RemoteNameUpdated signals. If the procedure has been finished an DiscoveryCompleted signal will be sent. Possible errors: org.bluez.Error.NotReady org.bluez.Error.Failed org.bluez.Error.InProgress org.bluez.Error.NoSuchAdapter void CancelDiscovery() This method will cancel any previous DiscoverDevices or DiscoverDevicesWithoutNameResolving actions. Possible errors: org.bluez.Error.NotReady org.bluez.Error.Failed org.bluez.Error.NotAuthorized org.bluez.Error.NoSuchAdapter object CreateDevice(string address) TBD void RemoveDevice(object path) Signals DeviceCreated(object path) TBD DeviceRemoved(object path) TBD PropertyChanged(string name, variant value) TBD DiscoveryStarted() TBD DiscoveryCompleted() TBD DeviceFound(string address, dict values) TBD DeviceDisappeared(string address) TBD Properties string Name [readonly] string Address [readonly] boolean PeriodicInquiry [readwrite] string Mode [readwrite] uint32 DiscoverableTimeout [readwrite]