tests: Bluetooth: quick-fix to EATT reconfigure
This test is going away when #55976 is merged. Add a sleep to work around this sequence of events: - central establishes channels - peripheral tries to establish channels, fails (max num reached) - central (still thinking chans are valid) triggers reconfigure - collision mitigation on the peripheral, triggering a disconnect of both sides - channels are established again, but the reconfigure isn't triggered again - devices wait forever for the reconfigure cb Fixes #55912 Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
44e4b077ad
commit
e58e050544
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ static void test_central_main(void)
|
|||
k_sleep(K_MSEC(10));
|
||||
}
|
||||
|
||||
k_sleep(K_MSEC(1000));
|
||||
|
||||
err = bt_eatt_reconfigure(default_conn, NEW_MTU);
|
||||
if (err < 0) {
|
||||
FAIL("Reconfigure failed (%d)\n", err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue