This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Change name characteristics SimpleBLEPeripheral

Hi,

Im using BLE device monitor on my Android device. Recently i try to add 3 new characteristics to SimpleGATTProfile and i also try to change the name of the first five characteristics. 

I think that i can modify them changing the user description, but i change it and when i connect with the APP still appears the previous name. And in the 3 new characteristics appears a NULL name. 

Someone can tell me how to change the name of the characteristics?

Thanks

  • It should work by just changing the user description. And that you should be able to see in characteristic user description of the respective service.

    In BLE device monitor we are using on PC, we need to "Double Click" the characteristic user description line to see the description. Make sure that is not case for  you on the Android App.

  • Thanks for the reply

    I'm using it on my Note 3. And i change the user description but i can only see this:

    And i change the user description as u can see here

  • Not sure if this is relevant to your problem, but be aware that Android caches characteristic information.  If you change the characteristic properties or handles in the peripheral device, you need to clear the Android cache by turning Bluetooth off and back on again.  

  • No. Thats not the problem i tryed it but still not working.

  • Hi,

    The name which you want to change is from application. I don't know much about Android but I have successfully done this with BLE device monitor.

    From your screenshot I guess you want to give name where there are just UUIDs. So it can't be changed via user description.

    When I am creating custom profiles , BLE device monitor doesn't show name but it shows correctly in user description inside profile. So I edited xml file which contains service uuid and names.

    Path should be: "C:\Program Files\Texas Instruments\SmartRF Tools\BLE Device Monitor\config\gatt_uuid.xml". 

    By editing this xml file you can put your custom profiles UUID and name there.

    I hope there is similar xml file for android and you can put service name for that. If you can find that file, it should achieve your purpose. Hope this will help you.

    UPDATE:

    I think xml file is there also for android. Look at BLE sensor tag source code here.