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

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

问题描述

我想使用自定义配置文件构建一个简单的基于蓝牙低功耗的应用程序.采用的配置文件/服务/特征/描述符使用 16 位 UUID,如 official网站.

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_UUID00000000-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 都保留用于规范(或未来规范)中的项目.因此,供应商应用程序可以自由使用任何小于基本 UUID 的 128 位 UUID.供应商没有保留空间来使用 16 位或 32 位 UUID.

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.

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

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