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
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BLE_DIS is not enabled accordlingly

Hi,

I have added the bettery service to ble_app_buttonless_dfu_pca10040_s132 project successfully.

The sample code is from latest SDK 17.0.2.

When I do the same set-up for the device info service, NRF_MODULE_ENABLED(BLE_DIS) remained false, so that the code is not complied. 

Contents in sdk_config.h  

The difference between ble_dis.c and ble_bas.c after rebuild project:

I found "The RAM_START and RAM_SIZE may differ depends on your application configuration (number of custom services)." in the post. However, I did not change the configuration when I add battery service. 

Is there any limitation of the number of services? 

What should I do to enable BLE_DIS module?

Regards,

Chelsea

Parents Reply Children
Related