Hi... See my advertise_init function to add custom 128-bit UUID.As seen in the answer of this post devzone.nordicsemi.com/.../ i have changed uuid_type but still receiving error code 7 (INVALID_PARAM)
uint8_t flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
ble_uuid_t adv_uuids[] =
{
{BLE_UUID_LBS_SERVICE, m_lbs.uuid_type },
};
// Build and set advertising data.
memset(&advdata, 0, sizeof(advdata));
advdata.name_type = BLE_ADVDATA_FULL_NAME;
advdata.include_appearance = true;
advdata.flags.size = sizeof(flags);
advdata.flags.p_data = &flags;
advdata.uuids_more_available.uuid_cnt = sizeof(adv_uuids) / sizeof(adv_uuids[0]);
advdata.uuids_more_available.p_uuids = adv_uuids;