传统蓝牙(标准服务)

SYD8801是一款低功耗高性能蓝牙低功耗SOC,集成了高性能2.4GHz射频收发机、32位ARM Cortex-M0处理器、128kB Flash存储器、以及丰富的数字接口。SYD8801片上集成了Balun无需阻抗匹配网络、高效率DCDC降压转换器,适合用于可穿戴、物联网设备等。具体可咨询:http://www.sydtek.com/

 

本文摘录于:https://www.bluetooth.com/specifications/assigned-numbers/service-discovery这里只是做学习备份之用,绝无抄袭之意,如果作者觉得有所不妥请联系本人,一定妥当处理!同时这里望阅读者查看原文章!

Service Discovery

​​​Use Assigned Numbers in the Service Discovery Protocol (SDP) for searching for services, a browse group list, documentation URL, and an icon URL.

Service Discovery Protocol (SDP)

Universally Unique Identifier (UUID) short forms

The Bluetooth® Service Discovery Protocol (SDP) specification defines a way to represent a range of UUIDs (which are nominally 128 bits) in a shorter form. A reserved range of 2^32 values can be represented using 32 bits (denoted uuid32). Of these, a sub-range of 2^16 values can be represented using only 16 bits (denoted uuid16).

All values in the 2^32 range that are not assigned in this document are reserved pending future revisions of this document. In other words, no value in this range may be used except as specified in this or future revisions of this document. UUID values outside of this range can be allocated as described in [ISO-11578] for any purpose the allocator desires.

Base Universally Unique Identifier (UUID)

The Base UUID is used for calculating 128-bit UUIDs from "short UUIDs" (uuid16 and uuid32) as described in the SDP Specification. See Service Discovery Protocol (SDP) in the Bluetooth Core Specification.

NOTE: Currently all assigned short UUIDs are uuid16 types.

UUID NameUUID
BASE_UUID00000000-0000-1000-8000-00805F9B34FB

Protocol Identifiers

The UUIDs in the following table shall be used only in the ProfileDescriptorList attribute.

Protocol NameUUIDProtocol Specification
SDP0x0001Bluetooth Core Specification
UDP0x0002[NO USE BY PROFILES]
RFCOMM0x0003RFCOMM with TS 07.10
TCP0x0004[NO USE BY PROFILES]
TCS-BIN0x0005Telephony Control Specification / TCS Binary [DEPRECATED]
TCS-AT0x0006[NO USE BY PROFILES]
ATT0x0007Attribute Protocol
OBEX0x0008IrDA Interoperability
IP0x0009[NO USE BY PROFILES]
FTP0x000A[NO USE BY PROFILES]
HTTP0x000C[NO USE BY PROFILES]
WSP0x000E[NO USE BY PROFILES]
BNEP0x000FBluetooth Network Encapsulation Protocol (BNEP)
UPNP0x0010Extended Service Discovery Profile (ESDP) [DEPRECATED]
HIDP0x0011Human Interface Device Profile (HID)
HardcopyControlChannel0x0012Hardcopy Cable Replacement Profile (HCRP)
HardcopyDataChannel0x0014See Hardcopy Cable Replacement Profile (HCRP)
HardcopyNotification0x0016Hardcopy Cable Replacement Profile (HCRP)
AVCTP0x0017Audio/Video Control Transport Protocol (AVCTP)
AVDTP0x0019Audio/Video Distribution Transport Protocol (AVDTP)
CMTP0x001BCommon ISDN Access Profile (CIP) [DEPRECATED]
MCAPControlChannel0x001EMulti-Channel Adaptation Protocol (MCAP)
MCAPDataChannel0x001FMulti-Channel Adaptation Protocol (MCAP)
L2CAP0x0100Bluetooth Core Specification
 (Max value 0xFFFF) 

Table 1: Protocol Identifiers and Names, Service Classes and Profile Identifiers

UUIDs in the following table, which have an allowed usage of Service Class may be used in the ServiceClassIDList universal attribute, but shall not be used in the BluetoothProfileDescriptorList attribute unless the Profile usage is also allowed per the table below. If a Service Class UUID is exposed in the SDP database of a product, then the product containing the SDP record shall comply with the specification that defines the service corresponding to the UUID.

UUIDs in the following table which have an allowed usage of Profile may be used in the BluetoothProfileDescriptorList universal attribute, but shall not be used in the ServiceClassIDList universal attribute unless the Service Class usage is also allowed per the table below.

For historical reasons, some UUIDs in Table 2 are used to identify profiles in a BluetoothProfileDescriptorList universal attribute as well as service classes in a ServiceClassIDList universal attribute. However, for new profiles, Service Class UUIDs shall not be used in a BluetoothProfileDescriptorList universal attribute and Profile UUIDs shall not be used in a ServiceClassIDList universal attribute.

Service Class NameUUIDSpecificationAllowed Usage
ServiceDiscoveryServerServiceClassID0x1000Bluetooth Core SpecificationService Class
BrowseGroupDescriptorServiceClassID0x1001Bluetooth Core SpecificationService Class
SerialPort0x1101Serial Port Profile (SPP)
NOTE: The example SDP record in SPP v1.0 does not include a BluetoothProfileDescriptorList attribute, but some implementations may also use this UUID for the Profile Identifier.
Service Class/ Profile
LANAccessUsingPPP0x1102LAN Access Profile
[DEPRECATED]
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
DialupNetworking0x1103Dial-up Networking Profile (DUN)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
IrMCSync0x1104Synchronization Profile (SYNC)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
OBEXObjectPush0x1105Object Push Profile (OPP)
NOTE: Used as both Service Class Identifier and Profile.
Service Class/ Profile
OBEXFileTransfer0x1106File Transfer Profile (FTP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
IrMCSyncCommand0x1107Synchronization Profile (SYNC) 
Headset0x1108Headset Profile (HSP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
CordlessTelephony0x1109Cordless Telephony Profile (CTP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
[DEPRECATED]
Service Class/ Profile
AudioSource0x110AAdvanced Audio Distribution Profile (A2DP)Service Class
AudioSink0x110BAdvanced Audio Distribution Profile (A2DP)Service Class
A/V_RemoteControlTarget0x110CAudio/Video Remote Control Profile (AVRCP)Service Class
AdvancedAudioDistribution0x110DAdvanced Audio Distribution Profile (A2DP)Profile
A/V_RemoteControl0x110EAudio/Video Remote Control Profile (AVRCP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class/ Profile
A/V_RemoteControlController0x110FAudio/Video Remote Control Profile (AVRCP)
NOTE: The AVRCP specification v1.3 and later require that 0x110E also be included in the ServiceClassIDList before 0x110F for backwards compatibility.
Service Class
Intercom0x1110Intercom Profile (ICP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
[DEPRECATED]
Service Class
Fax0x1111Fax Profile (FAX)
NOTE: Used as both Service Class Identifier and Profile Identifier.
[DEPRECATED]
Service Class
Headset - Audio Gateway (AG)0x1112Headset Profile (HSP)Service Class
WAP0x1113Interoperability Requirements for Bluetooth technology as a WAP, Bluetooth SIG [DEPRECATED]Service Class
WAP_CLIENT0x1114Interoperability Requirements for Bluetooth technology as a WAP, Bluetooth SIG [DEPRECATED]Service Class
PANU0x1115Personal Area Networking Profile (PAN)
NOTE: Used as both Service Class Identifier and Profile Identifier for PANU role.
Service Class / Profile
NAP0x1116Personal Area Networking Profile (PAN)
NOTE: Used as both Service Class Identifier and Profile Identifier for NAP role.
Service Class / Profile
GN0x1117Personal Area Networking Profile (PAN)
NOTE: Used as both Service Class Identifier and Profile Identifier for GN role.
Service Class / Profile
DirectPrinting0x1118Basic Printing Profile (BPP)Service Class
ReferencePrinting0x1119See Basic Printing Profile (BPP)Service Class
Basic Imaging Profile0x111ABasic Imaging Profile (BIP)Profile
ImagingResponder0x111BBasic Imaging Profile (BIP)Service Class
ImagingAutomaticArchive0x111CBasic Imaging Profile (BIP)Service Class
ImagingReferencedObjects0x111DBasic Imaging Profile (BIP)Service Class
Handsfree0x111EHands-Free Profile (HFP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class / Profile
HandsfreeAudioGateway0x111FHands-free Profile (HFP)Service Class
DirectPrintingReferenceObjectsService0x1120Basic Printing Profile (BPP)Service Class
ReflectedUI0x1121Basic Printing Profile (BPP)Service Class
BasicPrinting0x1122Basic Printing Profile (BPP)Profile
PrintingStatus0x1123Basic Printing Profile (BPP)Service Class
HumanInterfaceDeviceService0x1124Human Interface Device (HID)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class / Profile
HardcopyCableReplacement0x1125Hardcopy Cable Replacement Profile (HCRP)Profile
HCR_Print0x1126Hardcopy Cable Replacement Profile (HCRP)Service Class
HCR_Scan0x1127Hardcopy Cable Replacement Profile (HCRP)Service Class
Common_ISDN_Access0x1128Common ISDN Access Profile (CIP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
[DEPRECATED]
Service Class / Profile
SIM_Access0x112DSIM Access Profile (SAP)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class / Profile
Phonebook Access - PCE0x112EPhonebook Access Profile (PBAP)Service Class
Phonebook Access - PSE0x112FPhonebook Access Profile (PBAP)Service Class
Phonebook Access0x1130Phonebook Access Profile (PBAP)Profile
Headset - HS0x1131Headset Profile (HSP)
NOTE: See erratum #3507.
0x1108 and 0x1203 should also be included in the ServiceClassIDList before 0x1131 for backwards compatibility.
Service Class
Message Access Server0x1132Message Access Profile (MAP)Service Class
Message Notification Server0x1133Message Access Profile (MAP)Service Class
Message Access Profile0x1134Message Access Profile (MAP)Profile
GNSS0x1135Global Navigation Satellite System Profile (GNSS)Profile
GNSS_Server0x1136Global Navigation Satellite System Profile (GNSS)Service Class
​3D Display0x1137​​3D Synchronization Profile (3DSP)Service Class​
​3D Glasses​0x1138​3D Synchronization Profile (3DSP)​Service Class
​3D Synchronization0x1139​​3D Synchronization Profile (3DSP)​Profile
​MPS Profile UUID​0x113A​Multi-Profile Specification (MPS)​Profile
​MPS SC UUID​0x113B​Multi-Profile Specification (MPS)​Service Class
​CTN Access Service​​0x113C​​Calendar, Task, and Notes (CTN) Profile​Service Class
​CTN Notification Service​​0x113D​​Calendar Tasks and Notes (CTN) Profile​Service Class
​CTN Profile​0x113E​​Calendar Tasks and Notes (CTN) Profile​Profile
PnPInformation0x1200Device Identification (DID)
NOTE: Used as both Service Class Identifier and Profile Identifier.
Service Class / Profile
GenericNetworking0x1201N/AService Class
GenericFileTransfer0x1202N/AService Class
GenericAudio0x1203N/AService Class
GenericTelephony0x1204N/AService Class
UPNP_Service0x1205Enhanced Service Discovery Profile (ESDP) [DEPRECATED]Service Class
UPNP_IP_Service0x1206Enhanced Service Discovery Profile (ESDP) [DEPRECATED]Service Class
ESDP_UPNP_IP_PAN0x1300Enhanced Service Discovery Profile (ESDP) [DEPRECATED]Service Class
ESDP_UPNP_IP_LAP0x1301Enhanced Service Discovery Profile (ESDP)[DEPRECATED]Service Class
ESDP_UPNP_L2CAP0x1302Enhanced Service Discovery Profile (ESDP)[DEPRECATED]Service Class
VideoSource0x1303Video Distribution Profile (VDP)Service Class
VideoSink0x1304Video Distribution Profile (VDP)Service Class
VideoDistribution0x1305Video Distribution Profile (VDP)Profile
HDP0x1400Health Device ProfileProfile
HDP Source0x1401Health Device Profile (HDP)Service Class
HDP Sink0x1402Health Device Profile (HDP)Service Class
 (Max value 0xFFFF)  

Table 2: Service Class Profile Identifiers

蓝牙核心规格 蓝牙设备的构成组件。 蓝牙核心规格定义各种技术构成组件,开发人员可以用它们来创建构成繁荣的蓝牙生态系统的互操作性设备。蓝牙规格由蓝牙技术联盟 (SIG) 负责监督,并由Bluetooth SIG 工作组 定期更新和补充,以满足不断发展的技术和市场要求。 蓝牙的两种类型 部署最为普遍的两种规格为蓝牙基础率/增强数据率 (BR/EDR)(采用版本为 2.0/2.1)和低耗能 (LE) 蓝牙(采用版本为 4.0/4.1/4.2)。每项部署都有不同的用例,同时采用不同的芯片以满足基本硬件要求。双模芯片也适用于包含两种用例的应用。 存在哪些差异? 蓝牙 BR/EDR—可建立相对较短距离的持续无线连接,因此非常适用于流式音频等应用 蓝牙 LE—可建立短时间的长距离无线电连接,非常适用于无需持续连接但依赖电池具有较长寿命的的物联网 (IoT) 应用 双模—双模芯片可支持需要连接 BR/EDR 设备(例如音频耳机)以及 LE 设备(例如穿戴设备或零售信标)的单一设备(例如智能手机或平板电脑) 核心系统结构 尽管每项部署都有具体要求(详见蓝牙规格),但蓝牙核心系统结构有许多统一要素。该系统包含射频收发器、基带和协议栈,支持设备连接和交换各类数据。 蓝牙设备交换根据蓝牙规格协议信号。核心系统协议包括射频 (RF) 协议、链路控制 (LC) 协议、链路管理器 (LM) 协议以及逻辑链路控制和适配协议 (L2CAP)蓝牙规格详细定义了这些协议。 最低的三个系统层—射频、链路控制和链路管理器协议—通常被归属于称为蓝牙控制器的子系统。这是一种采用可选标准接口—主机控制器接口 (HCI)—的通用部署,支持与蓝牙系统的其他设备(即蓝牙主机)进行双向通信。 主控制器可能是以下配置之一,具体取决于用例: BR/EDR 控制器,包括射频、基带、链路管理器和可选 HCI LE 控制器,包括 LE PHY、链路层和可选 HCI BR/EDR 组合控制器和 LE 控制器,组合控制器共享一个蓝牙设备地址 蓝牙规格通过定义等效层之间交换的协议信息来实现系统之间的互操作性。它还通过定义蓝牙控制器和蓝牙主机之间的公用接口来实现独立蓝牙子系统之间的互操作性。 蓝牙栈 物理 (PHY) 层 通过蓝牙通信信道控制 2.4Ghz 射频的传输/接收。BR/EDR 提供的信道较多但带宽较窄,而 LE 使用的信道较少但带宽较宽。 链路层 定义数据包结构/信道、发现/连接程序以及发送/接收数据。 直接测试模式 允许测试人员向 PHY 层发出指令以传输或接收给定数据包序列,通过 HCI 或 2 线 UART 接口提交命令。 主机控制器接口 (HCI) 蓝牙控制器子系统(底部三层)和蓝牙主机之间的可选标准接口。 逻辑链路控制和适配协议 (L2CAP) 层 基于数据包的协议,可将数据包传输至 HCI 或直接传输到无主机系统中的链路管理器。支持更高级别的协议多路复用、数据包分割和重组,以及将服务质量信息传输到更高层。 属性协议 (ATT) 在建立连接之后定义数据交换客户端/服务器协议。使用通用属性配置文件 (GATT) 将属性分类为有意义的服务。ATT 主要用于 LE 部署,偶尔也会用于 BR/EDR 部署。 安全管理器 定义管理蓝牙设备之间配对完整性、身份验证以及加密的协议和操作,提供安全功能工具箱,其他组件可利用该工具箱支持不同应用所需的各种安全级别。 通用属性配置文件 (GATT) 使用属性协议,GATT 对封装设备组件性能的服务进行分组,并描述基于 GATT 功能的用例、角色和一般性能。其服务框架定义服务规程和格式及其特性,其中包括发现、读取、写入、通知以及指示特性以及配置特性广播。GATT 仅用于蓝牙 LE 部署。 详细了解 GATT 信息。 通用访问配置文件(GAP) 可与蓝牙 LE 部署中的 GATT 配合使用,以定义与发现蓝牙设备和共享信息相关的规程和角色,以及连接蓝牙设备的链路管理内容
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值