nrf52833 scan extend adv packet

 I am using the nrf52833 with 17.1 SDK and s140_nrf52_7.2.0_softdevice,i want to scan a scannable extend adv packets,

This is what i get in the BLE_GAP_EVT_ADV_REPORT :

p_adv_report->type.scan_response:1
p_adv_report->type.extended_pdu:1
p_adv_report->type.connectable:0
p_adv_report->type.scannable:1

However, the adv data I obtained is not the broadcaster's scan rsp data, but rather the adv data.  The scan response data I set is different from the adv data.

The broadcaster received a scan request from the scanner

I cannot obtain an advertisement with p_adv_report->type.scan_response = 0.

Are there any additional settings I need to configure on the scanning side?

Parents Reply
  • Thanks,I've been using the nRF5 SDK for many years, and switching to a new SDK isn't that easy for me. I want to add a feature to an existing product by transmitting data via extended adv and scan rsp,Does the nRF5 SDK support the adv type BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED? When I set srdata in the adv parameters, then sd_ble_gap_adv_start will triggers an error: ERROR 7 [NRF_ERROR_INVALID_PARAM]

Children
Related