zephyr/tests/bluetooth/common/testlib/src
Aleksander Wasaznik f82a86c21b Bluetooth: testlib: bt_testlib_connect: better error logs
Changes to logging:
 - Don't log "Connected" if there was an error.
 - Identify the relevant bt_conn object in log messages by its index.
 - Special case non-fatal errors:
  - Failure due to out of free conn object is INF.
 - Improve transparancy of error messages:
  - For errno, include the name of the API.
  - For HCI errors, include the common prefix of the symbols
    'BT_HCI_ERR_' so they are easier to look up.

This change includes some light refactoring to make the code more
understandable, but does not change any behavior.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2024-03-19 21:15:44 -05:00
..
adv.c
att_read.c tests: Bluetooth: add missing param to testlib 2023-12-05 15:09:18 +01:00
att_write.c
conn_ref.c Bluetooth: testlib: Create testlib/conn.h 2023-11-22 14:55:43 +00:00
conn_wait.c Bluetooth: testlib: Create testlib/conn.h 2023-11-22 14:55:43 +00:00
connect.c Bluetooth: testlib: bt_testlib_connect: better error logs 2024-03-19 21:15:44 -05:00
scan.c
security.c