This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to change the service name?

image description

Hello everyone

i have created one custom service and i succed to compiled then i checked my service via master control panel it is showing unknown service but i named it as buzzer service can anyone guide me where i went wrong or suggest me how to change the service name.

Parents
  • Hi

    If I understand you correctly you want to change the names that show up in the Service discovery window in MCP.

    image description

    The names I have pointed to in the image above cannot be changed to whatever you like. Some services are predefined by Bluetooth SIG. See for example this list. These predefined services are the only services that will show up with a name in MCP.

    image description

    A custom service will always show up like in the image above. Reading something like:

    PrimaryService, Value: 23-D1-13-EF-12-23-45-56-78-89...........
    

    What you can do however, is to add a User Description Characteristic as shown highlighted in the image above. Then you can include any name you want. Have a look at this thread to learn more about how to do it.


    If you want to change the advertising name as shown in the image below I suggest that you read this tutorial.

    image description

  • i have created custom GATT profiles and i named the service as buzzer and characteristic as buzzer setup but after the compilation it is showing me int he mater control panel Unknown service and unkown characteristics and i dont know why? can you suggest me how can i see buzzer service as the service name and buzzer characteristics as the characteristic name

Reply Children
No Data
Related