How do I add a 128-bit UUID?
I am using SDK 14 and see hardly any examples of how to put a 128-bit UUID in my advertisements.
The only relevant example I found is under /nRF5_SDK_14.2.0_17b948a/examples/ble_peripheral/ble_app_pwr_profiling/main.c
#define KIDDO_BASE_UUID {{0x33, 0xFE, 0x67, 0xCB, 0xEB, 0x92, 0x87, 0xB6, 0xE7, 0x11, 0x40, 0x34, 0x00, 0x00, 0x85, 0x2E}}
static ble_uuid128_t const m_base_uuid128 = KIDDO_BASE_UUID;
ble_uuid_t service_uuid;
ret_code_t err_code;
service_uuid.uuid = 0x0005;
err_code = sd_ble_uuid_vs_add(&m_base_uuid128, &service_uuid.type);
APP_ERROR_CHECK(err_code);
When I execute this, my device advertises, but without the 128-bit UUID.