分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
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 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</ |