Adding multiple 128 bit custom uuids for sdk 14

pbirkner gravatar image

asked 2017-09-14 04:39:41 +0200

I am attempting to port a custom ble service from sdk12 to sdk 14 and am a bit confused as to how to increase my uuid count. In sdk12 I did it like this:

    uint32_t               err_code;
ble_enable_params_t ble_enable_params;

err_code = softdevice_enable_get_default_config(CENTRAL_LINK_COUNT,
uint32_t *  p_app_ram_base 

ble_enable_params.common_enable_params.vs_uuid_count = 3; // set number of vendor specific UUIDs.
err_code = softdevice_enable(&ble_enable_params);

Is there an equaly simple way I can set the vs_uuid_count in SDK14?

edit retag flag offensive close delete report spam


It's a define in sdk_config.h file: #define NRF_SDH_BLE_VS_UUID_COUNT 3

gkovelman_tap ( 2017-09-14 10:36:26 +0200 )editconvert to answer