Lines Matching refs:auto_scan
47 } auto_scan = { variable
521 if ((auto_scan.broadcast_id == BT_BAP_INVALID_BROADCAST_ID) && in scan_recv_cb()
522 (strlen(auto_scan.broadcast_name) == 0U)) { in scan_recv_cb()
546 if (sr_info.broadcast_id == auto_scan.broadcast_id) { in scan_recv_cb()
550 if ((strlen(auto_scan.broadcast_name) != 0U) && in scan_recv_cb()
551 is_substring(auto_scan.broadcast_name, sr_info.broadcast_name)) { in scan_recv_cb()
572 param.pa_sync = auto_scan.pa_sync; in scan_recv_cb()
574 param.subgroups = &auto_scan.subgroup; in scan_recv_cb()
581 memset(&auto_scan, 0, sizeof(auto_scan)); in scan_recv_cb()
582 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_recv_cb()
591 memset(&auto_scan, 0, sizeof(auto_scan)); in scan_timeout_cb()
592 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_timeout_cb()
636 if (auto_scan.broadcast_id != BT_BAP_INVALID_BROADCAST_ID) { in cmd_bap_broadcast_assistant_add_broadcast_id()
653 auto_scan.pa_sync = shell_strtobool(argv[2], 0, &err); in cmd_bap_broadcast_assistant_add_broadcast_id()
696 auto_scan.broadcast_id = broadcast_id; in cmd_bap_broadcast_assistant_add_broadcast_id()
697 memcpy(&auto_scan.subgroup, &subgroup, sizeof(subgroup)); in cmd_bap_broadcast_assistant_add_broadcast_id()
698 memset(auto_scan.broadcast_name, 0, sizeof(auto_scan.broadcast_name)); in cmd_bap_broadcast_assistant_add_broadcast_id()
721 auto_scan.pa_sync = shell_strtobool(argv[2], 0, &err); in cmd_bap_broadcast_assistant_add_broadcast_name()
764 utf8_lcpy(auto_scan.broadcast_name, broadcast_name, strlen(broadcast_name) + 1); in cmd_bap_broadcast_assistant_add_broadcast_name()
765 auto_scan.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in cmd_bap_broadcast_assistant_add_broadcast_name()
766 memcpy(&auto_scan.subgroup, &subgroup, sizeof(subgroup)); in cmd_bap_broadcast_assistant_add_broadcast_name()