ORG.BLUEZ.ADAPTER(5) | Linux System Administration | ORG.BLUEZ.ADAPTER(5) |
org.bluez.Adapter - BlueZ D-Bus Adapter API documentation
Use StopDiscovery to release the sessions acquired.
This process will start creating Device objects as new devices are discovered.
During discovery RSSI delta-threshold is imposed.
Each client can request a single device discovery session per adapter.
Possible errors:
Note that a discovery procedure is shared between all discovery sessions thus calling StopDiscovery will only release a single session and discovery will stop when all sessions from all clients have finished.
Possible errors:
Possible errors:
Possible filter values:
When a remote device is found that advertises any UUID from UUIDs, it will be reported if:
PropertiesChanged signals will be emitted for already existing Device objects, with updated RSSI value. If one or more discovery filters have been set, the RSSI delta-threshold, that is imposed by StartDiscovery by default, will not be applied.
PropertiesChanged signals will be emitted for already existing Device objects, with updated Pathloss value.
Possible values:
When enabled PropertiesChanged signals will be generated for either ManufacturerData and ServiceData everytime they are discovered.
When set disregards device discoverable flags.
Note: The pattern matching is ignored if there are other client that don't set any pattern as it work as a logical OR, also setting empty string "" pattern will match any device found.
When discovery filter is set, Device objects will be created as new devices with matching criteria are discovered regardless of they are connectable or discoverable which enables listening to non-connectable and non-discoverable devices.
When multiple clients call SetDiscoveryFilter, their filters are internally merged, and notifications about new devices are sent to all clients. Therefore, each client must check that device updates actually match its filter.
When SetDiscoveryFilter is called multiple times by the same client, last filter passed will be active for given client.
SetDiscoveryFilter can be called before StartDiscovery. It is useful when client will create first discovery session, to ensure that proper scan will be started right after call to StartDiscovery.
Possible errors:
Possible errors: None
Possible properties values:
Possible values:
Possible errors:
Possible values:
This property is either a static system default or controlled by an external daemon providing access to the pretty hostname configuration.
In case no alias is set, it will return the system provided name. Setting an empty string as alias will convert it back to the system provided name.
When resetting the alias with an empty string, the property will default back to system name.
On a well configured system, this property never needs to be changed since it defaults to the system name and provides the pretty hostname. Only if the local name needs to be different from the pretty hostname, this property should be used as last resort.
This property represents the value that is either automatically configured by DMI/ACPI information or provided as static configuration.
Setting this property to false will set the Discoverable property of the adapter to false as well, which will not be reverted if if Connectable is set back to true. If required, the application will need to manually set Discoverable to true.
Note that this property only affects incoming connections.
The value of this property is not persistent. After restart or unplugging of the adapter it will reset back to false.
The power state will show whether the adapter is turning off, or turning on, as well as being on or off.
Possible values:
If the DiscoverableTimeout is set to a non-zero value then the system will set this value back to false after the timer expired.
In case the adapter is switched off, setting this value will fail.
When changing the Powered property the new state of this property will be updated via a PropertiesChanged signal.
Note that this property only affects incoming pairing requests.
Possible values:
October 2023 | BlueZ |