Can't get nrfConnect to recognize a custom uuid

I changed the file, C:\Users\kruenheck\AppData\Roaming\nrfconnect-bluetooth-low-energy\uuid_definitions.json so that it has a new service:

{
"_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"
}
"000023231212efde2323785feabcd123":
{
"name": "My New service"
}
},
"uuid128bitCharacteristicDefinitions": {
"6E400002B5A3F393E0A9E50E24DCCA9E": {
"name": "UART RX"
},
"6E400003B5A3F393E0A9E50E24DCCA9E": {
"name": "UART TX"
}
},
"uuid128bitDescriptorDefinitions": {}
}

But when I look at my device in nrfConnect, it shows the uuid number but not the name

What am I missing?

Parents
  • Hi, 

    Please refer to the example to update for your custom UUID.

    {
        "_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": {}
    }

    Regards,
    Amanda H.

  • There is no uuid128bitCharacteristicDefinitions and name for your custom UUID 

  • I added characteristics and I still only see numbers on nrfConnect

    "uuid16bitDescriptorDefinitions": {},
    "uuid128bitServiceDefinitions":
    {
    "6E400001-B5A3-F393-E0A9-E50E24DCCA9E":
    {
    "name": "UART over BLE"
    }
    "00002323-1212-efde-2323-785feabcd123":
    {
    "name": "My New service"
    }
    },
    "uuid128bitCharacteristicDefinitions":
    {
    "6E400002B5A3F393E0A9E50E24DCCA9E":
    {
    "name": "UART RX"
    },
    "6E400003B5A3F393E0A9E50E24DCCA9E":
    {
    "name": "UART TX"
    }
    "000023241212efde2323785feabcd123":
    {
    "name": "Blah1"
    },
    "000023251212efde2323785feabcd123":
    {
    "name": "Blah2"
    },
    "000023261212efde2323785feabcd123":
    {
    "name": "Blah3"
    },
    "000023271212efde2323785feabcd123":
    {
    "name": "Blah4"
    },

    },
    "uuid128bitDescriptorDefinitions": {}
    }

Reply
  • I added characteristics and I still only see numbers on nrfConnect

    "uuid16bitDescriptorDefinitions": {},
    "uuid128bitServiceDefinitions":
    {
    "6E400001-B5A3-F393-E0A9-E50E24DCCA9E":
    {
    "name": "UART over BLE"
    }
    "00002323-1212-efde-2323-785feabcd123":
    {
    "name": "My New service"
    }
    },
    "uuid128bitCharacteristicDefinitions":
    {
    "6E400002B5A3F393E0A9E50E24DCCA9E":
    {
    "name": "UART RX"
    },
    "6E400003B5A3F393E0A9E50E24DCCA9E":
    {
    "name": "UART TX"
    }
    "000023241212efde2323785feabcd123":
    {
    "name": "Blah1"
    },
    "000023251212efde2323785feabcd123":
    {
    "name": "Blah2"
    },
    "000023261212efde2323785feabcd123":
    {
    "name": "Blah3"
    },
    "000023271212efde2323785feabcd123":
    {
    "name": "Blah4"
    },

    },
    "uuid128bitDescriptorDefinitions": {}
    }

Children
Related