zephyr/tests/bsim/bluetooth/host/att/eatt
Jonathan Rico a7cf7eb393 Bluetooth: l2cap: change connected cb call condition for ECRED
This was recently refactored (in #58440). But it introduced a bug in which
some channels were connected but not the whole list asked for by the peer.

In that case, `result` will not be `SUCCESS` but we still want to call the
`connected` callback as the peer will consider those channels to be
connected when we send the response.

The symptom is that EATT channels are being instantiated, but not
considered connected (ie. usable by the stack).

Also introduce a test that has asymmetric channel resources (5 on central
vs 2 on peripheral) to reproduce the bug.

Fixes #60212

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-07-31 19:39:09 +00:00
..
src Bluetooth: l2cap: change connected cb call condition for ECRED 2023-07-31 19:39:09 +00:00
tests_scripts Bluetooth: l2cap: change connected cb call condition for ECRED 2023-07-31 19:39:09 +00:00
CMakeLists.txt Bluetooth: l2cap: change connected cb call condition for ECRED 2023-07-31 19:39:09 +00:00
prj_autoconnect.conf Bluetooth: l2cap: change connected cb call condition for ECRED 2023-07-31 19:39:09 +00:00
prj_collision.conf Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
prj_lowres.conf Bluetooth: l2cap: change connected cb call condition for ECRED 2023-07-31 19:39:09 +00:00
prj_multiple_conn.conf Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00