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

nrf52 and BDS

Hello I saw a Nordic presentation where they state that the plugin for nrf51 can export services from Bluetooth Developer Studio for nrf52 but when I include the generated files I am missing this include #include "app_util_bds.h" in the whole SDK 0.9.x can't find it, also by documentation if its the same I have to use this example to operate with the above files infocenter.nordicsemi.com/index.jsp but when I tried it I was missing tx_value and rx_value.

What am I doing wrong ?

Parents
  • The current BDS plugin should work fine with the nRF52 SDK even though it was designed for the nRF51, since the BLE API's are the same. The main issue today is that we don't have a BDS template project in the nRF52 SDK.

    This should be coming pretty soon, but in the mean time one of our engineers has modified the standard BLE template project in the nRF52 SDK to interface with the BDS generated files: ble_app_template_bds.zip

    Using the attached example you should be able to follow the same procedure as you would for the nRF51 SDK.

    The example is provided "as is", so use it at your own risk ;)

  • Hi I downloaded the zip and compiled it to the board but your service.c and h files don't have any services and characteristics initialization that is done on the Bluetooth chip more over in the main code you don't use anywhere the #include "service_if.h" or the only invocation I found was to Bluetooth_init which always returns nrf_sucess.

    Can you provide me a example using BDS with atleast one service and two characteristics for RX/TX data and the xml file with which you generated them inside the BDS because I don't see this example as useful in the current state ? Moreover when I compile my own file from BDS I get the following dependencies: #include <stdint.h> #include <stdbool.h> #include "ble.h" #include "ble_srv_common.h" #include "app_util_bds.h" which are not present in your template and file "app_util_bds.h" cant be found

Reply
  • Hi I downloaded the zip and compiled it to the board but your service.c and h files don't have any services and characteristics initialization that is done on the Bluetooth chip more over in the main code you don't use anywhere the #include "service_if.h" or the only invocation I found was to Bluetooth_init which always returns nrf_sucess.

    Can you provide me a example using BDS with atleast one service and two characteristics for RX/TX data and the xml file with which you generated them inside the BDS because I don't see this example as useful in the current state ? Moreover when I compile my own file from BDS I get the following dependencies: #include <stdint.h> #include <stdbool.h> #include "ble.h" #include "ble_srv_common.h" #include "app_util_bds.h" which are not present in your template and file "app_util_bds.h" cant be found

Children
No Data
Related