I added service into ble_app_template
in static void services_init(void) {}
like this
#define NUS_BASE_UUID {{0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E}}
#define BLE_UUID 0x0005
ble_uuid128_t base_uuid = NUS_BASE_UUID;
ble_uuid_t ble_uuid = { . uuid = BLE_UUID };
uint32_t err_code = sd_ble_uuid_vs_add(&base_uuid, &ble_uuid.type);
APP_ERROR_CHECK(err_code);
uint16_t service_handle;
err_code = sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY, &ble_uuid, &service_handle);
APP_ERROR_CHECK(err_code);
sd_ble_gap_appearance_set(BLE_APPEARANCE_GENERIC_TAG);
Why I don't see in my smartfone this service added?