phosphor-service-bluetooth

BlueZ adapter and device state with device pairing.

Exposes the system-bus org.bluez surface as Qt and QML types: per-adapter power and discovery state, per-device pairing and connection state, and the pairing agent. It is a D-Bus client built on the phosphor-dbus client and ObjectManager helpers, tracking adapters and devices with live PropertiesChanged updates. Writes are async and non-optimistic, so cached state only moves once BlueZ echoes the change back. A shell binds the adapter and device models to render toggles and lists, and wires a pairing dialog to BluetoothAgent.

Full API →

Key types

BluetoothHost
Owns the adapter and device sets via an ObjectManager observer and registers the pairing agent.
BluetoothDevice
One org.bluez.Device1 with pairing/connection state and connect/pair/trust controls.
BluetoothDeviceModel
QAbstractListModel over the host's devices, optionally scoped to one adapter.
BluetoothAgent
org.bluez.Agent1 pairing agent emitting PIN/passkey/confirmation requests.

Dependencies

See also

References