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

nrf51822 multilink central: error in client_handling_init (S120 v2.1, PCA10001, SDK v6.1.0.0)

Hi all,

I'm a newby in the Nordic BLE world, I hope I will find some support on this forum about my problem.

I'm working on a project to create a multilink central device, based on NRF51822 device. I'm using the PCA10001 dev board to develop my project and the soft device s120 v2.1 has been flashed.

In the SDK v6.1.0.0, I extracted the project s120/ble_app_multilink_central from the board directory nrf6310. I modified the Makefile to render it able to be compiled and debug it.

This is my problem, when the program start I got the error handler (system reset) in the client_handling_init because the return value of sd_ble_uuid_vs_add is 0x3001. After a quick search in the documentation and header file, I understand the error is :

  • NRF_ERROR_STK_BASE_NUM : 0x3000

  • About the 0x0001, I'm not sure because this value is not available in S120 doxygen documentation ; is it (available in the ble_err.h file) : BLE_ERROR_NOT_ENABLED (NRF_ERROR_STK_BASE_NUM+0x001) /**< @ref sd_ble_enable has not been called. */

If yes, I don't know why the function sd_ble_enable is not called before?

I don't modify at all the example code right now, this function is indeed not called in the previous function of the file main.c or client_handling.c of ble_app_multilink_central example project.

If you have any idea?

Thanks in advance

Parents
  • Hi Petter,

    Thanks for your support! I don't know how to retrieve revision information, this is what I get in nRFgo Studio for device information:

    • nRF51822 QFAAG00 0x003c

    But Anyway, the information you provided are very usefull and I will try to use either the SDK10 with the same soft device or change soft device to use the SDK11.

    Is there somewhere, this kind of information to get the link between, IC revision, soft device revision and SDK version?

    Thanks in advance

Reply
  • Hi Petter,

    Thanks for your support! I don't know how to retrieve revision information, this is what I get in nRFgo Studio for device information:

    • nRF51822 QFAAG00 0x003c

    But Anyway, the information you provided are very usefull and I will try to use either the SDK10 with the same soft device or change soft device to use the SDK11.

    Is there somewhere, this kind of information to get the link between, IC revision, soft device revision and SDK version?

    Thanks in advance

Children
No Data
Related