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

Problem with S120 v2.0.0

Hello,

I am trying to use the v2.0.0 of softdevice S120 released today. I copied the included header files in nRF51822/Include/s120/*.h and modified the Target -> IROM1 to Start from 0x1D000 (116kB) with the size 0x22000.

Compiling using Keil gave me an error in the function "sd_ble_gatts_sys_attr_set" called inside device_manager_central.c. I see that that's because of the redefinition of this function in ble_gatts.h.

Adding another argument NULL (as I don't know the appropriate flags needed by the SVC function) helped me compile it successfully, but now when I run it, I get NRF_ERROR_SVC_HANDLER_MISSING in the function client_handling_init.

Note that things are working good with S120 v1.0, but I want to use the v2.0 to get DFU capability.

Thanks!

  • Aditya
Parents
  • Please replace the s120 v2 api files too, the include files you will find inside api folder in the same zip. with s120 v2, new api came. hope this would have helped you.

    Edit: i missed out reading you text, as you have already copied the files.

Reply
  • Please replace the s120 v2 api files too, the include files you will find inside api folder in the same zip. with s120 v2, new api came. hope this would have helped you.

    Edit: i missed out reading you text, as you have already copied the files.

Children
No Data
Related