zephyr/tests/bluetooth
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
..
addr tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
adv hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
at Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
audio tests: Bluetooth: CAP Commander Change Microphone Gain unittests 2024-03-12 17:56:09 +00:00
bluetooth tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
bt_crypto tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
bt_crypto_ccm tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
common/testlib Bluetooth: testlib: bt_testlib_connect: better error logs 2024-03-19 21:15:44 -05:00
controller Bluetooth: controller: Fix Data Length Update 2024-02-09 13:46:41 +01:00
ctrl_isoal tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
ctrl_sw_privacy
ctrl_sw_privacy_unit tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
ctrl_user_ext hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
df Bluetooth: Controller: Build hci_vendor.c also for simulation 2024-03-04 12:14:15 +00:00
gatt tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
hci_codecs_info
hci_prop_evt tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
hci_uart_async tests/bluetooth/hci_uart_async: Switch to native_sim 2023-11-22 09:53:10 +01:00
host Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
host_long_adv_recv tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
init Bluetooth: Controller: Fix CIS accept fails with unsupp parameters 2024-03-15 09:40:13 +00:00
l2cap tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
ll_settings
mesh hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
mesh_shell hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
qualification tests: Bluetooth: Update Host Launch Studio Project and ICS 2024-01-30 08:52:59 +01:00
shell tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
tester Bluetooth: Mesh: make models metadata const 2024-03-11 09:26:12 +01:00
uuid tests/bluetooth: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00