Getting only Sensor characteristic data

Hello,
I have gone through the Bluetooth LE course. 
https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/

I have successfully integrated Bluetooth LBS service, in lesson 4.

the example shows button status, LED control, Sensor data.

my issue:
i want only sensor data in "Nordic LED button Service", So i commented button and led characteristic from "BT_GATT_SERVICE_DEFINE" as shown in the image.


The Button and LED are gone from the app, but now The Sensor data is not updating in the sensor characteristic.

"HOW TO GET THE STATUS OF SENSOR WITHOUT SHOWING BUTTON AND LED CHARACTERISTICS"





Related