可用于供应商定义配置文件什么蓝牙的UUID的范围是多少? [英] What range of Bluetooth UUIDs can be used for vendor defined profiles?

查看:661
本文介绍了可用于供应商定义配置文件什么蓝牙的UUID的范围是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个简单的蓝牙低功耗的使用自定义配置文件基于应用程序。所采用的配置文件/服务/特征/描述符使用16位的UUID在官方网站

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.

16位的UUID是用于相应的128位的UUID快捷方式和被翻译成

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 

Bluetooth_Base_UUID 00000000-0000-1000-8000-00805F9B34FB 。的(来源:蓝牙核心规范第3卷第F部分第3.2.1节)

由于我使用的自定义配置文件,我想知道什么的UUID我允许使用。

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


  • 其中128位的UUID范围可以用来形容供应商定义的属性的蓝牙低功耗的?

  • Which range of 128-bit UUIDs can be used to describe vendor defined attributes in Bluetooth Low Energy?

推荐答案

所有您在上面显示被保留在规范项目(或未来的规范)基地UUID上述16位和32位的UUID。因此,供应商的应用程序可以自由使用任何128-bit的UUID小于基UUID。没有预留空间,厂商使用16位或32位的UUID。但是,实际上来说,目前所有指定的数字是16位的范围之内,因此,如果您使用的是32位的UUID你目前不打一处冲突> = 0x00010000在

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. However, practically speaking, all currently specified numbers are within the 16-bit range, so you will currently not hit a conflict if you use a 32-bit UUID >= 0x00010000

这篇关于可用于供应商定义配置文件什么蓝牙的UUID的范围是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆