Completely redone from v3, following discussion on the mailing-list: https://patchwork.kernel.org/project/bluetooth/list/?series=964591&archive=both Bastien Nocera (8): error: Rename device error helper to match retval error: Add helper to return DbusMessage errors from errno device: Use new DbusMessage error helper error: Make errno to string helpers private device: Better error when no BR/EDR profiles can be connected to device: Better "Connect" debug device: Better error when the link key is missing device: Better error when the adapter is not powered doc/org.bluez.Device.rst | 5 +++ src/device.c | 79 +++++++++++++++++++++++++--------------- src/error.c | 71 ++++++++++++++++++++++++++++++------ src/error.h | 12 +++--- 4 files changed, 118 insertions(+), 49 deletions(-) -- 2.50.0