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

Displayed characteristic name in mobile app

Hi! 

I am using SDK15. I am developing application which is mainly based on ble_app_uart (with NUS) service. NUS service consists of two characteristics: 
- RX Characteristic
- TX Characteristic.

These are the names that appear in mobile app nRF Connect. 

In my application I would like to use the NUS service with slightly extended functionality but also with other characteristics names displayed.

My question:

Where in code is the place I can change the displayed text? Is it possible to do so? I wasn't able to find any explicit declaration related to it, so I am beginning to think that the mobile app nRF Connect, as you have developped it, exactly knows that certain UUID #define BLE_UUID_NUS_TX_CHARACTERISTIC 0x0003   can be translated to "TX Characteristic". So can I or can not?

thanks

Parents
  • Yes, you can do it.

    In option menu choose "Definition"

    After, you see the window:

    Next you need to select the export of all definitions (for example code execution)

    Further on your phone there will be a text file (user_definitions.json) in format JSON where you can define already the you services / characteristics / attributes. For this, the appropriate UUID and text are indicated.

    After, you can do import this file. if done correctly, your definitions will appear.

Reply
  • Yes, you can do it.

    In option menu choose "Definition"

    After, you see the window:

    Next you need to select the export of all definitions (for example code execution)

    Further on your phone there will be a text file (user_definitions.json) in format JSON where you can define already the you services / characteristics / attributes. For this, the appropriate UUID and text are indicated.

    After, you can do import this file. if done correctly, your definitions will appear.

Children
Related