tests: Bluetooth: bsim_test_iso: Change wait time in BIG receiver

The receiver and transmitter in the test are synchronized by
use of sleep functions. The change in handling of periodic
advertising synchronized event caused missmach in waiting
times. Receiver is notified about established synchronization
later that it was in the past. Due to that the wait for end
of transmitter operation was too long.

Temporary fix for the problem is decrease of receiver sleep
time by one periodic advertising interval.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2021-10-01 13:27:41 +02:00 committed by Christopher Friedt
parent e03f9c3042
commit b61101144a

View file

@ -358,7 +358,7 @@ static void test_iso_recv_main(void)
}
printk("success.\n");
k_sleep(K_MSEC(15000));
k_sleep(K_MSEC(13800));
printk("Terminating BIG...");
err = ll_big_sync_terminate(big_handle, (void **)&node_rx);