Skip to content

Better connect debug and error reporting

Bastien Nocera linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest8 patches 3 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8error: Rename device error helper to match retvalsrc/device.c src/error.c src/error.h+9 -91 reply
2/8error: Add helper to return DbusMessage errors from errnosrc/error.c src/error.h+14 -00 replies
3/8device: Use new DbusMessage error helpersrc/device.c+7 -100 replies
4/8error: Make errno to string helpers privatesrc/error.c src/error.h+2 -50 replies
5/8device: Better error when no BR/EDR profiles can be connected todoc/org.bluez.Device.rst src/device.c src/error.c +1 more+19 -80 replies
6/8device: Better "Connect" debugsrc/device.c+33 -81 reply
7/8device: Better error when the link key is missingdoc/org.bluez.Device.rst src/device.c src/error.c +1 more+31 -131 reply
8/8device: Better error when the adapter is not powereddoc/org.bluez.Device.rst src/device.c src/error.c +1 more+15 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH BlueZ v4 0/8] Better connect debug and error reporting

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(-)
Signature · 1 line
2.50.0