HI
I am currently using nRF54L15 with NCS 3.0.0 SDK, running the periodic_adv_conn example. I made the following modifications to the extended advertising and periodic advertising:
------------------------------------------------------------------
struct bt_le_adv_param param = { .id = BT_ID_DEFAULT, .sid = 0, .secondary_max_skip = 0, .peer = NULL, .interval_min = BT_GAP_ADV_SLOW_INT_MIN, .interval_max = BT_GAP_ADV_SLOW_INT_MAX, .options = BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CODED | BT_LE_ADV_OPT_USE_IDENTITY }; err = bt_le_ext_adv_create(¶m, &adv_cb, &pawr_adv); if (err) { printk("Failed to create advertising set (err %d)\n", err); return; }
---------------------------------------------------------------------
#define NUM_RSP_SLOTS 10 #define NUM_SUBEVENTS 5 #define PACKET_SIZE 5 #define SUBEVENT_INTERVAL 0xAC static const struct bt_le_per_adv_param per_adv_params = { .interval_min = 0x5280, .interval_max = 0x5280, .options = 0, .num_subevents = NUM_SUBEVENTS, .subevent_interval = SUBEVENT_INTERVAL, .response_slot_delay = 0x5, .response_slot_spacing = 0xA0, .num_response_slots = NUM_RSP_SLOTS, };
After making these changes, I found that when starting to run, the periodic advertising operates normally. However, once the extended advertising begins, the periodic advertising stops running, and only the extended advertising continues to operate normally. Why is this happening?
Thanks