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

sd_ble_gatts_characteristic_add returns NRF_ERROR_INVALID_PARAM

I get NRF_ERROR_INVALID_PARAM when calling sd_ble_gatts_characteristic_add(); If I comment custom service initialization where is this function I get the same error NRF_ERROR_INVALID_PARAM when calling ble_advertising_init(&advdata, &srdata, &options, on_adv_evt, NULL);

What could be the problem?

Related