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?