diff --git a/examples/bluetooth/nimble/ble_cts/cts_cent/main/main.c b/examples/bluetooth/nimble/ble_cts/cts_cent/main/main.c index d0bea3ea68..d3c6321ea5 100644 --- a/examples/bluetooth/nimble/ble_cts/cts_cent/main/main.c +++ b/examples/bluetooth/nimble/ble_cts/cts_cent/main/main.c @@ -505,9 +505,9 @@ ble_cts_cent_gap_event(struct ble_gap_event *event, void *arg) #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - ble_cts_cent_connect_if_interesting(&event->disc); + ble_cts_cent_connect_if_interesting(&event->ext_disc); return 0; #endif diff --git a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/main/main.c b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/main/main.c index 93a4e552af..616d8eecd5 100644 --- a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/main/main.c +++ b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/main/main.c @@ -544,7 +544,7 @@ enc_adv_data_cent_gap_event(struct ble_gap_event *event, void *arg) #if MYNEWT_VAL(BLE_EXT_ADV) case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); return 0; #endif diff --git a/examples/bluetooth/nimble/ble_htp/htp_cent/main/main.c b/examples/bluetooth/nimble/ble_htp/htp_cent/main/main.c index 66d6c7c2c4..2b4d3bf8d1 100644 --- a/examples/bluetooth/nimble/ble_htp/htp_cent/main/main.c +++ b/examples/bluetooth/nimble/ble_htp/htp_cent/main/main.c @@ -635,9 +635,9 @@ ble_htp_cent_gap_event(struct ble_gap_event *event, void *arg) #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - ble_htp_cent_connect_if_interesting(&event->disc); + ble_htp_cent_connect_if_interesting(&event->ext_disc); return 0; #endif diff --git a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c index f9a805ba95..b458b0d857 100644 --- a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c +++ b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c @@ -492,9 +492,9 @@ blecent_gap_event(struct ble_gap_event *event, void *arg) #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - blecent_connect_if_interesting(&event->disc); + blecent_connect_if_interesting(&event->ext_disc); return 0; #endif diff --git a/examples/bluetooth/nimble/ble_periodic_sync/main/main.c b/examples/bluetooth/nimble/ble_periodic_sync/main/main.c index 61ae1e23e3..9ec68b3d5f 100644 --- a/examples/bluetooth/nimble/ble_periodic_sync/main/main.c +++ b/examples/bluetooth/nimble/ble_periodic_sync/main/main.c @@ -110,8 +110,8 @@ periodic_sync_gap_event(struct ble_gap_event *event, void *arg) switch (event->type) { #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: - /* An advertisment report was received during GAP discovery. */ - struct ble_gap_ext_disc_desc *disc = ((struct ble_gap_ext_disc_desc *)(&event->disc)); + /* An advertisement report was received during GAP discovery. */ + struct ble_gap_ext_disc_desc *disc = ((struct ble_gap_ext_disc_desc *)(&event->ext_disc)); if (disc->sid == 2 && synced == 0) { synced++; const ble_addr_t addr; diff --git a/examples/bluetooth/nimble/ble_phy/phy_cent/main/main.c b/examples/bluetooth/nimble/ble_phy/phy_cent/main/main.c index 8bb90d9d12..29016667a4 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_cent/main/main.c +++ b/examples/bluetooth/nimble/ble_phy/phy_cent/main/main.c @@ -450,9 +450,9 @@ blecent_gap_event(struct ble_gap_event *event, void *arg) case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - blecent_connect_if_interesting(&event->disc); + blecent_connect_if_interesting(&event->ext_disc); return 0; default: diff --git a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/main/main.c b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/main/main.c index ff0023364b..8bb8f158ad 100644 --- a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/main/main.c +++ b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/main/main.c @@ -583,9 +583,9 @@ ble_prox_cent_gap_event(struct ble_gap_event *event, void *arg) #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - ble_prox_cent_connect_if_interesting(&event->disc); + ble_prox_cent_connect_if_interesting(&event->ext_disc); return 0; #endif diff --git a/examples/bluetooth/nimble/blecent/main/main.c b/examples/bluetooth/nimble/blecent/main/main.c index c254e87c28..e8acc2174f 100644 --- a/examples/bluetooth/nimble/blecent/main/main.c +++ b/examples/bluetooth/nimble/blecent/main/main.c @@ -881,9 +881,9 @@ blecent_gap_event(struct ble_gap_event *event, void *arg) #if CONFIG_EXAMPLE_EXTENDED_ADV case BLE_GAP_EVENT_EXT_DISC: /* An advertisement report was received during GAP discovery. */ - ext_print_adv_report(&event->disc); + ext_print_adv_report(&event->ext_disc); - blecent_connect_if_interesting(&event->disc); + blecent_connect_if_interesting(&event->ext_disc); return 0; #endif