how to To display uuid,major,minor values and the battery life with help of any example
how to To display uuid,major,minor values and the battery life with help of any example
This is a duplicate of this thread: https://devzone.nordicsemi.com/f/nordic-q-a/43446/to-display-uuid-major-minor-values-and-the-battery-life-using-ble_app_beacon-example. If you need an example you can start with the beacon project and maybe add a scan response packet to fit more data (advertising tutorial).
in that advertising tutorial it is not clearly shown how to advertise battery level with uuid,major,minor values
No, but it explains how you can create a scan response packet, which you will need to fit the battery measurement. I would suggest to start with advertising a simulated battery voltage, then use the proximity example as reference on how to get actual voltage with the ADC.
Can you please give me the code
Unfortunately, we don't have any example code that does exactly this.