Hii,
I want to assign name to my custom service. how can i add it i am using nrf52 chip and s132 softdevice. I have add new service using sd_ble_gatts_service_add() API;
Hii,
I want to assign name to my custom service. how can i add it i am using nrf52 chip and s132 softdevice. I have add new service using sd_ble_gatts_service_add() API;
Hi,
Please take a look at these answers.
Hi,
Please take a look at these answers.
Hi Sigurd,
thanks to reply but, these answers shows how to see the name in master control panel. and i want to use BLE scanner application for android to see the name. because i am working on linux pc.
You cannot set the service name directly in the code. The name is recognized by the central by looking up the service UUID in a service-name-database. If the UUID is not in the database, the service name will be shown as Unknown Service. If you are using nRFConnect for Android, you can manually add a name for the unknown service UUID. As shown here.
A solution to distinguish between the different characteristics in the custom service, is to add a User Description Characteristic. Have a look at this thread to learn more about how to do it.