This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_gap_scan_params_t report_incomplete_evts = 1

When I set "report_incomplete_evts = 1", I get a  NRF_ERROR_NOT_SUPPORTED (0x06) error.

If I comment it out, everything work as expected. I want to use it for exended advertise-scan.

From your API-doc I can read the following:

Note.

"This may be used to abort receiving more packets from an extended advertising event, and is only available for extended scanning, see sd_ble_gap_scan_start.

This feature is not supported by this SoftDevice."

Does this mean that we don`t receive missing packets from extended advertising-event, because the event is not emitted to the scan-handler ?

static ble_gap_scan_params_t m_scan_param =                 /**< Scan parameters requested for scanning and connection. */
{
    .active        = 0x01,
    .interval      = SCAN_INTERVAL,
    .window        = SCAN_WINDOW,
    .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,
    .timeout       = SCAN_DURATION,
//    .scan_phys     = BLE_GAP_PHY_CODED,                                 // Choose only one of the following scan_phys
    .scan_phys     = BLE_GAP_PHY_1MBPS,
//    .scan_phys     = BLE_GAP_PHY_2MBPS,
    .report_incomplete_evts = 1,
    .extended      = 0x01,
};

Parents Reply Children
No Data
Related