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

nrf_dfu_set_adv_name_init returns 1

I'm trying to add the ble_dfu service. During services_init(),

err_code = ble_dfu_buttonless_async_svci_init();
APP_ERROR_CHECK(err_code);
err_code = ble_dfu_buttonless_init(&dfus_init);
APP_ERROR_CHECK(err_code);

In the call to ble_dfu_buttonless_async_svci_init, nrf_dfu_set_adv_name_init returns 1, causing an error.

I have #define NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS 0 in sdk_config.h.

Any help would be great.

Related