Lines Matching full:big
341 static int create_big_sync(struct bt_iso_big **big, struct bt_le_per_adv_sync *sync) in create_big_sync() argument
362 LOG_INF("Waiting for BIG info"); in create_big_sync()
380 LOG_INF("Syncing to BIG"); in create_big_sync()
381 err = bt_iso_big_sync(sync, &big_sync_param, big); in create_big_sync()
383 LOG_ERR("BIG sync failed (err %d)", err); in create_big_sync()
387 LOG_INF("Waiting for BIG sync"); in create_big_sync()
393 LOG_INF("BIG sync established"); in create_big_sync()
400 static int cleanup(struct bt_le_per_adv_sync *sync, struct bt_iso_big *big) in cleanup() argument
414 if (!big_sync_lost && big) { in cleanup()
415 LOG_INF("Terminating BIG Sync"); in cleanup()
416 big_err = bt_iso_big_terminate(big); in cleanup()
418 LOG_ERR("BIG terminate failed (err %d)", big_err); in cleanup()
444 struct bt_iso_big *big = NULL; in test_run_receiver() local
487 err = create_big_sync(&big, sync); in test_run_receiver()
489 (void)cleanup(sync, big); in test_run_receiver()
498 LOG_INF("BIG sync lost, returning"); in test_run_receiver()
501 return cleanup(sync, big); in test_run_receiver()