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

Custom uuid in nRF Connect

Hi,

I have added new UUID (Service and Characteristic) into the uuid_definitions.json but it's not used in the application. To try I put a error into the json file and nRF Connect start without error. I have only one uuid_definitions.json file in my computer (...\AppData\Roaming\nrfconnect\uuid_definitions.json). The version of nRF Connect is 2.1.0 I restart the application on each change to the json file. This is my json file: uuid_definitions.json Screenshot: CustomUUID.jpg Best regards

Parents
  • Hi Mehdi,

    the structure of the uuid_definitions.json file will not be checked upon startup of the Bluetooth Low Energy application in nRF Connect. You will get an error if there is an invalid UUID when you try to add a custom service/characteristic/descriptor.

    In order for the changes to take affect you need to re-connect the adapter or reload the Bluetooth Low energy application using CTRL+r, this is stated in Chapter 11 in the nRF Connect BluetoothRegistered Low Energy User Guide v2.0.

  • You cannot create your own custom 16-bit UUIDs as these are reserved for the official Bluetooth SIG Services. You need to create 128-bit UUIDs for custom services and characteristics.

Reply Children
No Data