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

Simple question: Can one UUID have multiple handles?

I guess the answer is yes, because I know Characteristic Declaration (UUID 0x2803) has an unique handle for each characteristic.

Just wanted to confirm.

  • Hi.

    I'm not sure if I quite understand your question. BLE is based on the attribute protocol. It can be visualized as a table with attributes. Each attribute, or row in the table, has a handle. Each attribute also has a UUID to identify the type of attribute.

    It might look like this (copy paste from this tutorial):

    image description

  • The only "unique" in UUIDs is that they uniquely identify a type of attribute. There can be multiple of the same UUIDS on a single device, and the same is true for Characteristic UUIDs (e.g. multiple Heart Rate Services). Handles are completely unique though, but they are device-specific.

  • Thanks for the link. I wanted to confirm that for the same UUID 0x2803, in different service software device will assign different handles for it.

  • Well said! Thanks