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,
};

  • I am sorry for the delay, I am currently looking into your issue and will try to provide you with an answer as soon as possible.

    Best regards,

    Simon

  • The way I understand it is that you don't receive event for incomplete packets, you only receive an event when the whole packet is received. This implies that you don't have the possibility to abort receiving more packets from an extended advertising event. See code snippet below:

    uint8_t               report_incomplete_evts : 1; /**< If 1, events of type @ref ble_gap_evt_adv_report_t may have
                                                             @ref ble_gap_adv_report_type_t::status set to
                                                             @ref BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MORE_DATA.
                                                             This parameter is ignored when used with @ref sd_ble_gap_connect
                                                             @note This may be used to abort receiving more packets from an extended
                                                                   advertising event, and is only available for extended
                                                                   scanning, see @ref sd_ble_gap_scan_start.
                                                             @note This feature is not supported by this SoftDevice. */

    I am not sure if I have understood it correctly, are your experiments according to my understanding?

    Best regards,

    Simon

Related