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 Name | UUID |
---|---|
BASE_UUID | 00000000-0000-1000-8000-00805F9B34FB |
Protocol Identifiers
The UUIDs in the following table shall be used only in the ProfileDescriptorList attribute.
Protocol Name | UUID | Protocol Specification |
---|---|---|
SDP | 0x0001 | Bluetooth Core Specification |
UDP | 0x0002 | [NO USE BY PROFILES] |
RFCOMM | 0x0003 | RFCOMM with TS 07.10 |
TCP | 0x0004 | [NO USE BY PROFILES] |
TCS-BIN | 0x0005 | Telephony Control Specification / TCS Binary [DEPRECATED] |
TCS-AT | 0x0006 | [NO USE BY PROFILES] |
ATT | 0x0007 | Attribute Protocol |
OBEX | 0x0008 | IrDA Interoperability |
IP | 0x0009 | [NO USE BY PROFILES] |
FTP | 0x000A | [NO USE BY PROFILES] |
HTTP | 0x000C | [NO USE BY PROFILES] |
WSP | 0x000E | [NO USE BY PROFILES] |
BNEP | 0x000F | Bluetooth Network Encapsulation Protocol (BNEP) |
UPNP | 0x0010 | Extended Service Discovery Profile (ESDP) [DEPRECATED] |
HIDP | 0x0011 | Human Interface Device Profile (HID) |
HardcopyControlChannel | 0x0012 | Hardcopy Cable Replacement Profile (HCRP) |
HardcopyDataChannel | 0x0014 | See Hardcopy Cable Replacement Profile (HCRP) |
HardcopyNotification | 0x0016 | Hardcopy Cable Replacement Profile (HCRP) |
AVCTP | 0x0017 | Audio/Video Control Transport Protocol (AVCTP) |
AVDTP | 0x0019 | Audio/Video Distribution Transport Protocol (AVDTP) |
CMTP | 0x001B | Common ISDN Access Profile (CIP) [DEPRECATED] |
MCAPControlChannel | 0x001E | Multi-Channel Adaptation Protocol (MCAP) |
MCAPDataChannel | 0x001F | Multi-Channel Adaptation Protocol (MCAP) |
L2CAP | 0x0100 | Bluetooth 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 Name | UUID | Specification | Allowed Usage |
---|---|---|---|
ServiceDiscoveryServerServiceClassID | 0x1000 | Bluetooth Core Specification | Service Class |
BrowseGroupDescriptorServiceClassID | 0x1001 | Bluetooth Core Specification | Service Class |
SerialPort | 0x1101 | Serial 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 |
LANAccessUsingPPP | 0x1102 | LAN Access Profile [DEPRECATED] NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
DialupNetworking | 0x1103 | Dial-up Networking Profile (DUN) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
IrMCSync | 0x1104 | Synchronization Profile (SYNC) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
OBEXObjectPush | 0x1105 | Object Push Profile (OPP) NOTE: Used as both Service Class Identifier and Profile. | Service Class/ Profile |
OBEXFileTransfer | 0x1106 | File Transfer Profile (FTP) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
IrMCSyncCommand | 0x1107 | Synchronization Profile (SYNC) | |
Headset | 0x1108 | Headset Profile (HSP) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
CordlessTelephony | 0x1109 | Cordless Telephony Profile (CTP) NOTE: Used as both Service Class Identifier and Profile Identifier. [DEPRECATED] | Service Class/ Profile |
AudioSource | 0x110A | Advanced Audio Distribution Profile (A2DP) | Service Class |
AudioSink | 0x110B | Advanced Audio Distribution Profile (A2DP) | Service Class |
A/V_RemoteControlTarget | 0x110C | Audio/Video Remote Control Profile (AVRCP) | Service Class |
AdvancedAudioDistribution | 0x110D | Advanced Audio Distribution Profile (A2DP) | Profile |
A/V_RemoteControl | 0x110E | Audio/Video Remote Control Profile (AVRCP) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class/ Profile |
A/V_RemoteControlController | 0x110F | Audio/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 |
Intercom | 0x1110 | Intercom Profile (ICP) NOTE: Used as both Service Class Identifier and Profile Identifier. [DEPRECATED] | Service Class |
Fax | 0x1111 | Fax Profile (FAX) NOTE: Used as both Service Class Identifier and Profile Identifier. [DEPRECATED] | Service Class |
Headset - Audio Gateway (AG) | 0x1112 | Headset Profile (HSP) | Service Class |
WAP | 0x1113 | Interoperability Requirements for Bluetooth technology as a WAP, Bluetooth SIG [DEPRECATED] | Service Class |
WAP_CLIENT | 0x1114 | Interoperability Requirements for Bluetooth technology as a WAP, Bluetooth SIG [DEPRECATED] | Service Class |
PANU | 0x1115 | Personal Area Networking Profile (PAN) NOTE: Used as both Service Class Identifier and Profile Identifier for PANU role. | Service Class / Profile |
NAP | 0x1116 | Personal Area Networking Profile (PAN) NOTE: Used as both Service Class Identifier and Profile Identifier for NAP role. | Service Class / Profile |
GN | 0x1117 | Personal Area Networking Profile (PAN) NOTE: Used as both Service Class Identifier and Profile Identifier for GN role. | Service Class / Profile |
DirectPrinting | 0x1118 | Basic Printing Profile (BPP) | Service Class |
ReferencePrinting | 0x1119 | See Basic Printing Profile (BPP) | Service Class |
Basic Imaging Profile | 0x111A | Basic Imaging Profile (BIP) | Profile |
ImagingResponder | 0x111B | Basic Imaging Profile (BIP) | Service Class |
ImagingAutomaticArchive | 0x111C | Basic Imaging Profile (BIP) | Service Class |
ImagingReferencedObjects | 0x111D | Basic Imaging Profile (BIP) | Service Class |
Handsfree | 0x111E | Hands-Free Profile (HFP) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class / Profile |
HandsfreeAudioGateway | 0x111F | Hands-free Profile (HFP) | Service Class |
DirectPrintingReferenceObjectsService | 0x1120 | Basic Printing Profile (BPP) | Service Class |
ReflectedUI | 0x1121 | Basic Printing Profile (BPP) | Service Class |
BasicPrinting | 0x1122 | Basic Printing Profile (BPP) | Profile |
PrintingStatus | 0x1123 | Basic Printing Profile (BPP) | Service Class |
HumanInterfaceDeviceService | 0x1124 | Human Interface Device (HID) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class / Profile |
HardcopyCableReplacement | 0x1125 | Hardcopy Cable Replacement Profile (HCRP) | Profile |
HCR_Print | 0x1126 | Hardcopy Cable Replacement Profile (HCRP) | Service Class |
HCR_Scan | 0x1127 | Hardcopy Cable Replacement Profile (HCRP) | Service Class |
Common_ISDN_Access | 0x1128 | Common ISDN Access Profile (CIP) NOTE: Used as both Service Class Identifier and Profile Identifier. [DEPRECATED] | Service Class / Profile |
SIM_Access | 0x112D | SIM Access Profile (SAP) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class / Profile |
Phonebook Access - PCE | 0x112E | Phonebook Access Profile (PBAP) | Service Class |
Phonebook Access - PSE | 0x112F | Phonebook Access Profile (PBAP) | Service Class |
Phonebook Access | 0x1130 | Phonebook Access Profile (PBAP) | Profile |
Headset - HS | 0x1131 | Headset 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 Server | 0x1132 | Message Access Profile (MAP) | Service Class |
Message Notification Server | 0x1133 | Message Access Profile (MAP) | Service Class |
Message Access Profile | 0x1134 | Message Access Profile (MAP) | Profile |
GNSS | 0x1135 | Global Navigation Satellite System Profile (GNSS) | Profile |
GNSS_Server | 0x1136 | Global Navigation Satellite System Profile (GNSS) | Service Class |
3D Display | 0x1137 | 3D Synchronization Profile (3DSP) | Service Class |
3D Glasses | 0x1138 | 3D Synchronization Profile (3DSP) | Service Class |
3D Synchronization | 0x1139 | 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 |
PnPInformation | 0x1200 | Device Identification (DID) NOTE: Used as both Service Class Identifier and Profile Identifier. | Service Class / Profile |
GenericNetworking | 0x1201 | N/A | Service Class |
GenericFileTransfer | 0x1202 | N/A | Service Class |
GenericAudio | 0x1203 | N/A | Service Class |
GenericTelephony | 0x1204 | N/A | Service Class |
UPNP_Service | 0x1205 | Enhanced Service Discovery Profile (ESDP) [DEPRECATED] | Service Class |
UPNP_IP_Service | 0x1206 | Enhanced Service Discovery Profile (ESDP) [DEPRECATED] | Service Class |
ESDP_UPNP_IP_PAN | 0x1300 | Enhanced Service Discovery Profile (ESDP) [DEPRECATED] | Service Class |
ESDP_UPNP_IP_LAP | 0x1301 | Enhanced Service Discovery Profile (ESDP)[DEPRECATED] | Service Class |
ESDP_UPNP_L2CAP | 0x1302 | Enhanced Service Discovery Profile (ESDP)[DEPRECATED] | Service Class |
VideoSource | 0x1303 | Video Distribution Profile (VDP) | Service Class |
VideoSink | 0x1304 | Video Distribution Profile (VDP) | Service Class |
VideoDistribution | 0x1305 | Video Distribution Profile (VDP) | Profile |
HDP | 0x1400 | Health Device Profile | Profile |
HDP Source | 0x1401 | Health Device Profile (HDP) | Service Class |
HDP Sink | 0x1402 | Health Device Profile (HDP) | Service Class |
(Max value 0xFFFF) |
Table 2: Service Class Profile Identifiers