Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

buttonless DFU doesn't build

Hi, 

I am in the process of converting a large freertos project from nRF52832/SDK14.2 to nRF52840/SDK16.0

I've managed to convert everything but the buttonless DFU functionality.

When building the prject I get the following errors referrng to ble_dfu_unbonded.c module:

...
compiling ble_dfu_unbonded.c...
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c(61): error:  #20: identifier "nrf_dfu_set_adv_name_svci_async_t" is undefined
  NRF_SVCI_ASYNC_FUNC_DEFINE(NRF_DFU_SVCI_SET_ADV_NAME, nrf_dfu_set_adv_name, nrf_dfu_adv_name_t);
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c(61): error:  #20: identifier "nrf_dfu_set_adv_name_svci_async_t" is undefined
  NRF_SVCI_ASYNC_FUNC_DEFINE(NRF_DFU_SVCI_SET_ADV_NAME, nrf_dfu_set_adv_name, nrf_dfu_adv_name_t);
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c(61): error:  #20: identifier "nrf_dfu_set_adv_name_svci_async_t" is undefined
  NRF_SVCI_ASYNC_FUNC_DEFINE(NRF_DFU_SVCI_SET_ADV_NAME, nrf_dfu_set_adv_name, nrf_dfu_adv_name_t);
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c(257): error:  #136: struct "<unnamed>"  has no field "name"
                  memcpy(m_adv_name.name, &p_evt_write->data[2], p_evt_write->data[1]);
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c(258): error:  #136: struct "<unnamed>"  has no field "len"
                  m_adv_name.len = p_evt_write->data[1];
..\..\..\..\..\..\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c: 0 warnings, 5 errors
compiling nrf_sdh_freertos.c...
compiling ble_dfu.c...
compiling ble_dfu_bonded.c...
...

attached also screen caps of the source lines with the errors

I've set #define NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS 0 in sdk_config.h

What did I miss?

And another related issue - 

I've also tried to run example ble_app_buttonless_dfu of SDK16.0 on pca10056 however it loads with a 'missing pack' notification.

Even after installing the latest device family pack (8.27.1/8.29.0) from Nordic website(https://developer.nordicsemi.com/nRF5_SDK/pieces/nRF_DeviceFamilyPack/) I can't get rid of this notification nor change

Parents Reply Children
No Data
Related