mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
test/le-audio: setup advertising and allow to receive periodic advertising sync transfers
This commit is contained in:
parent
ff59851c28
commit
59cc662ff0
@ -385,6 +385,10 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
switch(btstack_event_state_get_state(packet)) {
|
||||
case HCI_STATE_WORKING:
|
||||
app_state = APP_IDLE;
|
||||
// setup advertising and allow to receive periodic advertising sync transfers
|
||||
setup_advertising();
|
||||
gap_periodic_advertising_sync_transfer_set_default_parameters(2, 0, 0x2000, 0);
|
||||
|
||||
#ifdef ENABLE_DEMO_MODE
|
||||
start_scanning();
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user