蓝牙 UUID 汇总

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 232 values can be represented using 32 bits (denoted uuid32). Of these, a sub-range of 216 values can be represented using only 16 bits (denoted uuid16).

All values in the 232 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

Browse Group Identifiers

The UUIDs in the following table may be used only in BrowseGroupList attribute.

UUID NameUUIDSpecification
PublicBrowseRoot0x1002Bluetooth Core Specification
 (Max value 0xFFFF) 

Table 3: Browse Group Identifiers and Names

Attribute Identifiers

Advanced Audio Distribution Profile (A2DP)

Applicable to Service Class UUIDs:

  • AudioSource: 0x110A
  • AudioSink: 0x110B
Attribute NameAttribute ID
SupportedFeatures0x0311

Audio/Video Remote Control Profile (AVRCP)

Applicable to Service Class UUIDs:

  • A/V_RemoteControlTarget: 0x110C
  • A/V_RemoteControl: 0x110E
  • A/V_RemoteControlController: 0x110F
Attribute NameAttribute ID
SupportedFeatures0x0311

Basic Imaging Profile (BIP)

Applicable to Service Class UUIDs:

  • ImagingResponder: 0x111B
  • ImagingAutomaticArchive: 0x111C
  • ImagingReferencedObjects: 0x111D
Attribute NameAttribute ID
GoepL2capPsm (BIP v1.1 and later)0x0200
SupportedCapabilities0x0310
SupportedFeatures0x0311
SupportedFunctions0x0312
TotalImagingDataCapacity0x0313

Basic Printing Profile (BPP)

Applicable to Service Class UUIDs:

  • Direct Printing: 0x1118
  • ReferencePrinting: 0x1119
  • DirectPrintingReferenceObjectsService: 0x1120
  • ReflectedUI: 0x1121
  • PrintingStatus: 0x1123
Attribute NameAttribute ID
Document Formats Supported0x0350
Character Repertoires Supported0x0352
XHTML-Print Image Formats Supported0x0354
Color Supported0x0356
1284ID0x0358
Printer Name0x035A
Printer Location0x035C
Duplex Supported0x035E
Media Types Supported0x0360
MaxMediaWidth0x0362
MaxMediaLength0x0364
Enhanced Layout Supported0x0366
RUI Formats Supported0x0368
Reference Printing RUI Supported0x0370
Direct Printing RUI Supported0x0372
Reference Printing Top URL0x0374
Direct Printing Top URL0x0376
Printer Admin RUI Top URL0x0378
Device Name0x037A

Bluetooth Core Specification: Universal Attributes

The following attribute IDs have the same meaning for all services. These attribute IDs shall be in the 0x0000 to 0x01FF range.

Attribute NameAttribute ID
ServiceRecordHandle0x0000
ServiceClassIDList0x0001
ServiceRecordState0x0002
ServiceID0x0003
ProtocolDescriptorList0x0004
BrowseGroupList0x0005
LanguageBaseAttributeIDList0x0006
ServiceInfoTimeToLive0x0007
ServiceAvailability0x0008
BluetoothProfileDescriptorList0x0009
DocumentationURL0x000A
ClientExecutableURL0x000B
IconURL0x000C
AdditionalProtocolDescriptorLists0x000D
Reserved0x000E – 0x01FF

Bluetooth Core Specification: Service Discovery Service

Applicable to Service Class UUIDs:

  • ServiceDiscoveryServerServiceClassID: 0x1000
Attribute NameAttribute ID
VersionNumberList0x0200
ServiceDatabaseState0x0201

Bluetooth Core Specification: Browse Group Descriptor Service

Applicable to Service Class UUIDs:

  • BrowseGroupDescriptorServiceClassID: 0x1001
Attribute NameAttribute ID
GroupID0x0200

Cordless Telephony Profile [DEPRECATED]

Applicable to Service Class UUIDs:

  • CordlessTelephony: 0x1001
Attribute NameAttribute ID
External Network0x0301

Device Identification Profile

Applicable to Service Class UUIDs:

  • PnPInformation: 0x1200
Attribute NameAttribute ID
SpecificationID0x0200
VendorID0x0201
ProductID0x0202
Version0x0203
PrimaryRecord0x0204
VendorIDSource0x0205

Fax Profile [DEPRECATED]

Applicable to Service Class UUIDs:

  • Fax: 0x1111
Attribute NameAttribute ID
Fax Class 1 Support0x0302
Fax Class 2.0 Support0x0303
Fax Class 2 Support(vendor-specific class)0x0304
Audio Feedback Support0x0305

File Transfer Profile

Applicable to Service Class UUIDs:

  • OBEXFileTransfer: 0x1106
Attribute NameAttribute ID
GoepL2capPsm(FTP v1.2 and later)0x0200

Generic Object Exchange Profile

Attribute NameAttribute ID
GoepL2capPsm(GOEP v2.0 and later)Must be defined separately for each GOEP-based service.

Global Navigation Satellite System Profile (GNSS)

Applicable to Service Class UUIDs:

  • GNSS Service: 0x1136
Attribute NameAttribute ID
SupportedFeatures0x0200

Hands-Free Profile

Applicable to Service Class UUIDs:

  • Handsfree: 0x111E
  • HandsfreeAudioGateway: 0x111F
Attribute NameAttribute ID
Network0x0301
SupportedFeatures0x0311

Hardcopy Replacement Profile

Applicable to Service Class UUIDs:

  • HCR_Print: 0x1126
  • HCR_Scan: 0x1127
Attribute NameAttribute ID
1284ID0x0300
Device Name0x0302
Friendly Name0x0304
Device Location0x0306

Headset Profile

Applicable to Service Class UUIDs:

  • Headset: 0x1108
  • Headset - Audio Gateway (AG): 0x1112
  • Headset: 0x1131
Attribute NameAttribute ID
Remote Audio Volume Control0x0302​

Health Device Profile

Applicable to Service Class UUIDs:

  • HDP Source: 0x1401
  • HDP Sink: 0x1402
Attribute NameAttribute ID
SupportFeaturesList0x0200
DataExchangeSpecification0x0301
MCAP Supported Procedures0x0302

Human Interface Device Profile

Applicable to Service Class UUIDs:

  • HumanInterfaceDeviceService: 0x1124
Attribute NameAttribute ID
HIDDeviceReleaseNumber (Deprecated)0x0200
HIDParserVersion0x0201
HIDDeviceSubclass0x0202
HIDCountryCode0x0203
HIDVirtualCable0x0204
HIDReconnectInitiate0x0205
HIDDescriptorList0x0206
HIDLANGIDBaseList0x0207
HIDSDPDisable (Deprecated)0x0208
HIDBatteryPower0x0209
HIDRemoteWake0x020A
HIDProfileVersion0x020B
HIDSupervisionTimeout0x020C
HIDNormallyConnectable0x020D
HIDBootDevice0x020E
​HIDSSRHostMaxLatency​0x020F
​HIDSSRHostMinTimeout​0x0210
Reserved for HID Attributes0x0211-0x03FF
Available for HID Language Strings0x0400-0xFFFF

Interoperability Requirements for Bluetooth technology as a WAP Bearer [DEPRECATED]

Applicable to Service Class UUIDs:

  • WAP: 0x1113
  • WAP_CLIENT: 0x1114
Attribute NameAttribute ID
NetworkAddress0x0306
WAPGateway0x0307
HomePageURL0x0308
WAPStackType0x0309

Message Access Profile

Applicable to Service Class UUIDs:

  • Message Access Server: 0x1132
  • Message Notification Server: 0x1133
Attribute NameAttribute ID
​GoepL2capPsm (MAP v1.2 and later)​0x0200
MASInstanceID0x0315
SupportedMessageTypes0x0316
​MapSupportedFeatures (MAP v1.2 and later)​0x0317

Object Push Profile

Applicable to Service Class UUIDs:

  • OBEXObjectPush: 0x1105
Attribute NameAttribute ID
GoepL2capPsm (OPP v1.2 and later)0x0200
Service Version0x0300
Supported Formats List0x0303

Personal Area Networking Profile

Applicable to Service Class UUIDs:

  • PANU: 0x1115
  • NAP: 0x1116
  • GN: 0x1117
Attribute NameAttribute ID
IpSubnet (Not used in PAN v1.0)0x0200
SecurityDescription0x030A
NetAccessType0x030B
MaxNetAccessrate0x030C
IPv4Subnet0x030D
IPv6Subnet0x030E

Phone Book Access Profile

Applicable to Service Class UUIDs:

  • Phonebook Access - PCE: 0x112E
  • Phonebook Access - PSE: 0x112F
Attribute NameAttribute ID
​GoepL2capPsm (PBAP v1.2 and later)​0x0200
SupportedRepositories0x0314
​PbapSupportedFeatures (PBAP v1.2 and later)​0x0317

Synchronization Profile

Applicable to Service Class UUIDs:

  • IrMCSync: 0x1104
Attribute NameAttribute ID
Supported Data Stores List0x0301

Attribute ID Offsets for Strings

The following table contains Attribute ID Offsets that are added to the value contained in the LanguageBaseAttributeIDList attribute.

Attribute ID Offset NameAttribute ID OffsetReference
ServiceName0x0000Bluetooth Core Specification
ServiceDescription0x0001Bluetooth Core Specification
ProviderName0x0002Bluetooth Core Specification
 (Max value 0xFFFF) 

Table 5: Attribute Identifiers

The base offset as given by the LanguageBaseAttributeIDList attribute must be added to each ID value in this table. For the primary language, this shall be equal to 0x0100 as described in the SDP specification.

Protocol Parameters

ProtocolParameter NameParameter Index
L2CAPPSM1
RFCOMMChannel1
TCPPort1
UDPPort1
BNEPVersion1
BNEPSupported Network Packet Type List2

Table 6: Protocol Parameter

Multi-Profile

Applicable​​​ to Service Class UUIDs:

  • MPS SC UUID: 0x113B
Attribute NameAttribute ID
MPSD Scenarios0x0200
MPMD Scenarios0x0201
Supported Profiles & Protocols0x0202

Table 7: Multi-Profile

Calendar Tasks and Notes

Applicable​​​ to Service Class UUIDs:

  • CTN Service Class: 0x113C
  • CTN Notification Service: 0x113D
Attribute NameAttribute ID
CASInstanceID0x0315
CTNSupportedFeatures0x0317

Table 8: Calendar Tasks and Notes (CTN) Profile​

  • 4
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Wireless_Link

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值