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

nRF Connect Desktop: Show Characteristic & Service Names

On the Android app, I can define human-readable names for my custom Services & Characteristics.

How do I do that on the Desktop app?

  • I'm afraid it's not implemented on the desktop version yet :/ 

  • That's a shame!

    Disappointed

    When you say, "yet" - does that mean it is in the schedule for a future update ... ?

    If so, I might hold off verifying the answer til it's done ...

    Wink

  • I'm afraid it's not implemented on the desktop version yet :/

    It has been possible for quite some time to give human-friendly aliases for UUIDs in the desktop app. Or are we talking about some other kind of naming?

    There is a uuid_definitions.json file somewhere on your system that has the definitions. The file is available from the settings menu (the gear icon) of the adapter in nRF Connect. It seems you need to be connected for the menu item to show up.

  • You're right - there it is:

    Smiley

    When you click the option, you get:

    I really don't think it's a good idea to have to set the global Windows configuration for the special case of this one particular app - would be better if the app held the option.

    The default file content is:

    {
        "_comment": {
            "comment": [
                "Add UUIDs for your services, characteristics, and descriptors in this file.",
                "The format is the UUID of the item, followed by an object containing the data.",
                "'name' is a mandatory handle, while 'format' is optional.",
                "Currently the only supported format is 'TEXT', default is 'NO_FORMAT'.",
                "The application must be reloaded to access changes in this file."
            ]
        },
        "uuid16bitServiceDefinitions": {
            "180D": {
                "name": "Heart Rate"
            }
        },
        "uuid16bitCharacteristicDefinitions": {
            "2A37": {
                "name": "Heart Rate Measurement"
            },
            "2A29": {
                "name": "Manufacturer Name String",
                "format": "TEXT"
            }
        },
        "uuid16bitDescriptorDefinitions": {},
        "uuid128bitServiceDefinitions": {
            "6E400001B5A3F393E0A9E50E24DCCA9E": {
                "name": "UART over BLE"
            }
        },
        "uuid128bitCharacteristicDefinitions": {
            "6E400002B5A3F393E0A9E50E24DCCA9E": {
                "name": "UART RX"
            },
            "6E400003B5A3F393E0A9E50E24DCCA9E": {
                "name": "UART TX"
            }
        },
        "uuid128bitDescriptorDefinitions": {}
    }

    The comment assumes that readers are familiar with JSON and what "object", "handle", etc mean in that context.

  • Hmm ...

    There doesn't seem to be any way to copy the UUIDs from the app to enter them into that fie.

    Disappointed

Related