mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 10:13:29 +00:00
test/le_audio: stop scanning after sink and source are found by broadcast assistant
This commit is contained in:
parent
4e15022773
commit
28ef06ceb7
@ -239,6 +239,9 @@ static void start_scanning() {
|
|||||||
static void have_base_and_big_info(void){
|
static void have_base_and_big_info(void){
|
||||||
printf("Connecting to Scan Delegator/Sink!\n");
|
printf("Connecting to Scan Delegator/Sink!\n");
|
||||||
|
|
||||||
|
// stop scanning
|
||||||
|
gap_stop_scan();
|
||||||
|
|
||||||
// todo: connect to scan delegator
|
// todo: connect to scan delegator
|
||||||
app_state = APP_W4_SCAN_DELEGATOR_CONNECTION;
|
app_state = APP_W4_SCAN_DELEGATOR_CONNECTION;
|
||||||
gap_connect(scan_delegator, scan_delegator_type);
|
gap_connect(scan_delegator, scan_delegator_type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user