官术网_书友最值得收藏!

Universally Unique Identifiers (UUIDs)

A UUID is a unique identifier that is guaranteed to be globally unique all the time. It is a 128-bit identifier out of which some pre-allocated values are used for registration purposes as described by the Bluetooth SIG. One of the very first pre-allocated values for UUID is known as Bluetooth Base UUID and has a value of 00000000-0000-1000-8000- 00805F9B34FB. Pre-allocated values in the UUID often has 16-bits or 32-bits aliases that can be used to generate your own UUIDs. The formula for generating a 128-bits UUID with pre-allocated alias is:

128-bit-UUID = 16-bit-value * 2 ^ 96 + Bluetooth-Base-UUID
128-bit-UUID = 32-bit-value * 2 ^ 96 + Bluetooth-Base-UUID

Bluetooth SIG provides UUIDS for services and profiles and they are made for a specific purpose. If it doesn't specify a particular need, a new UUID can be created. Using the Bluetooth-Base-UUID is recommended by the SIG for this purpose.

主站蜘蛛池模板: 林芝县| 乡城县| 加查县| 固安县| 彭山县| 江陵县| 靖安县| 会理县| 塔城市| 邹平县| 神池县| 广宁县| 尼勒克县| 平阴县| 兴安县| 鄂尔多斯市| 翼城县| 舒城县| 饶平县| 荔波县| 尼玛县| 英超| 佛学| 江门市| 全州县| 瑞昌市| 广饶县| 长汀县| 泰宁县| 满城县| 峨边| 金门县| 海原县| 兴山县| 乌什县| 兴仁县| 金溪县| 青铜峡市| 驻马店市| 六安市| 温泉县|