Lines Matching refs:auto_scan
2360 } auto_scan = { variable
2368 memset(&auto_scan, 0, sizeof(auto_scan)); in clear_auto_scan()
2369 auto_scan.broadcast_info.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in clear_auto_scan()
2431 if ((auto_scan.broadcast_info.broadcast_id == BT_BAP_INVALID_BROADCAST_ID) && in broadcast_scan_recv()
2432 (strlen(auto_scan.broadcast_info.broadcast_name) == 0U)) { in broadcast_scan_recv()
2450 if (sr_info.broadcast_id == auto_scan.broadcast_info.broadcast_id) { in broadcast_scan_recv()
2452 } else if ((strlen(auto_scan.broadcast_info.broadcast_name) != 0U) && in broadcast_scan_recv()
2453 is_substring(auto_scan.broadcast_info.broadcast_name, sr_info.broadcast_name)) { in broadcast_scan_recv()
2454 auto_scan.broadcast_info.broadcast_id = sr_info.broadcast_id; in broadcast_scan_recv()
2461 if (identified_broadcast && (auto_scan.broadcast_sink != NULL) && in broadcast_scan_recv()
2462 (auto_scan.broadcast_sink->pa_sync == NULL)) { in broadcast_scan_recv()
2482 err = bt_le_per_adv_sync_create(&create_params, auto_scan.out_sync); in broadcast_scan_recv()
2486 auto_scan.broadcast_sink->pa_sync = *auto_scan.out_sync; in broadcast_scan_recv()
2521 if (auto_scan.broadcast_sink != NULL && auto_scan.out_sync != NULL && in bap_pa_sync_synced_cb()
2522 sync == *auto_scan.out_sync) { in bap_pa_sync_synced_cb()
2524 auto_scan.broadcast_info.broadcast_id); in bap_pa_sync_synced_cb()
2526 if (auto_scan.broadcast_sink->bap_sink == NULL) { in bap_pa_sync_synced_cb()
2531 auto_scan.broadcast_info.broadcast_id, in bap_pa_sync_synced_cb()
2532 &auto_scan.broadcast_sink->bap_sink); in bap_pa_sync_synced_cb()
3469 auto_scan.broadcast_sink = &default_broadcast_sink; in cmd_create_broadcast_sink()
3470 auto_scan.broadcast_info.broadcast_id = broadcast_id; in cmd_create_broadcast_sink()
3471 auto_scan.out_sync = &per_adv_syncs[selected_per_adv_sync]; in cmd_create_broadcast_sink()
3519 memcpy(auto_scan.broadcast_info.broadcast_name, broadcast_name, strlen(broadcast_name)); in cmd_create_sink_by_name()
3520 auto_scan.broadcast_info.broadcast_name[strlen(broadcast_name)] = '\0'; in cmd_create_sink_by_name()
3522 auto_scan.broadcast_info.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in cmd_create_sink_by_name()
3523 auto_scan.broadcast_sink = &default_broadcast_sink; in cmd_create_sink_by_name()
3524 auto_scan.out_sync = &per_adv_syncs[selected_per_adv_sync]; in cmd_create_sink_by_name()