Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
398 views
in Technique[技术] by (71.8m points)

What range of Bluetooth UUIDs can be used for vendor defined profiles?

I want to build a simple Bluetooth Low Energy-based application using a custom profile. The adopted profiles / services / characteristics / descriptors use 16-bit UUIDs as seen on the official site.

The 16-bit UUIDs are shortcuts for a corresponding 128-bit UUID and is translated as

128-bit UUID = 16-bit Attribute UUID * 2^96 + Bluetooth_Base_UUID 

with Bluetooth_Base_UUID being 00000000-0000-1000-8000-00805F9B34FB. (Source: Bluetooth Core Specification Vol 3 Part F Section 3.2.1)

Since I am using a custom profile, I'm wondering what UUIDs I am allowed to use.

  • Which range of 128-bit UUIDs can be used to describe vendor defined attributes in Bluetooth Low Energy?
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

All of the 16-bit and 32-bit UUIDs above the base UUID that you show above are reserved for items in the spec (or future specs). So vendor apps are free to use any 128-bit UUID less than the base UUID. There is no reserved space for vendors to use 16-bit or 32-bit UUIDs.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...