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

error 7 NRF_ERROR_INVALID_PARAM when i use sd_ble_gatts_service_add

Hello,

First, I follow this tutorial --> https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial. It's working well on the dev board PCA10040 with the softdevice s132 and the sdk v15.0.0.

Now I trying to launch the same thing on a custom board with the nrf52810 with the softdevice s112 and also sdk v15.0.0. But when i try to add my custom service with sd_ble_gatts_service(), I have a error 7 (NRF_ERROR_INVALID_PARAM). I had followed the tutorial step by step until STEP 4.

On a ble analyser, I found my device but of course i can't see my custom service.

My IDE is keil 5 on Windows.

do you have a solution for me?

Parents Reply Children
No Data
Related