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.

Custom UUID for BLE



I have created a custom service in our BLE device and am currently using the same UUID range used by the sample SimpleProfile project for this service (0xFFF0 - 0xFFFF).

Can we continue to use this range of UUID's when this product becomes released or do we need to register a range of UUID's that is assigned to us and use this range instead?

  • Hi!

    I'm not an expert about this but I think I remember if you are using your own UUID, you should employ a 128bit one :)

  • kazola said:

    Hi!

    I'm not an expert about this but I think I remember if you are using your own UUID, you should employ a 128bit one :)

    I think you are right about the 128 bit UUID.

    All of the standard 16-bit UUID's specified by Bluetooth are aliases that actually represent 128-bit values:

    128_bit_value = 16_bit_value * 296 + Bluetooth_Base_UUID

    Bluetooth Base UUID  = 00000000-0000-1000-8000-00805F9B34FB

    I am just not sure that if we create our own 128-bit UUID, can I still use 16-bit aliases for individual characteristics within my custom service or do I need to use the full 128-bit UUID everywhere. I guess that I would need to use the full 128-bit value otherwise it would be possible to have use 16-bit UUID's  that duplicate 16-bit UUID's based on the 128-bit Bluetooth Base UUID.