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

nrf_dfu_ble.c APP_ERROR_CHECK with SERVICE CHANGED but optional bonding

Hello,

In nrf_dfu_ble.c BLE_GAP_EVT_SEC_PARAMS_REQUEST pairing on Windows 10, the following code:

            err_code = sd_ble_gatts_value_get(m_conn_handle,
                                              BLE_UUID_GATT_CHARACTERISTIC_SERVICE_CHANGED,
                                              &gatts_value);
            APP_ERROR_CHECK(err_code);

on SDK 15.2, this fails with NRF_ERROR_NOT_FOUND. In my sdk_config.h, however, I have:

#define NRF_DFU_BLE_REQUIRES_BONDS 0

#define NRF_SDH_BLE_SERVICE_CHANGED 1

Have I encountered a bug?

Thanks!

James

Parents Reply Children
No Data
Related