關於 Bluetooth 的標準 Service/Profile 的 UUID ,但是看了一下 Specification Doucments 都只有 16bits 長, 這是所謂的UUID16格式. Bluetooth 將UUID 的部份固定,只取16bits 作為各種 Service 的區分,意在節省分析 SDP Record and 與程式空間,避免增加 Bluetooth Device 的成本. 底下的值可以從 windows XP or Server 2003 SDK 的 bt_sdp.h or BlueZ 的 sdp.h(UUID16) 中找到定義,可以觀察出 下列的固定序列除了替換 XXXX部份
‘{0000xxxx-0000-1000-8000-00805F9B34FB}’,而XXXX 部份就是 所謂的 UUID16 定義。
► Protocols UUID
► Ref.Service class IDs
from
https://kunyichen.wordpress.com/2007/06/08/bluetooth-service-uuid-list/
http://www.javaworld.com.tw/jute/post/view?bid=26&id=275260
‘{0000xxxx-0000-1000-8000-00805F9B34FB}’,而XXXX 部份就是 所謂的 UUID16 定義。
► Protocols UUID
BASE UUID 00000000-0000-1000-8000-00805F9B34FB
SDP_PROTOCOL_UUID = '{00000001-0000-1000-8000-00805F9B34FB}';
UDP_PROTOCOL_UUID = '{00000002-0000-1000-8000-00805F9B34FB}';
RFCOMM_PROTOCOL_UUID = '{00000003-0000-1000-8000-00805F9B34FB}';
TCP_PROTOCOL_UUID = '{00000004-0000-1000-8000-00805F9B34FB}';
TCSBIN_PROTOCOL_UUID = '{00000005-0000-1000-8000-00805F9B34FB}';
TCSAT_PROTOCOL_UUID = '{00000006-0000-1000-8000-00805F9B34FB}';
OBEX_PROTOCOL_UUID = '{00000008-0000-1000-8000-00805F9B34FB}';
IP_PROTOCOL_UUID = '{00000009-0000-1000-8000-00805F9B34FB}';
FTP_PROTOCOL_UUID = '{0000000A-0000-1000-8000-00805F9B34FB}';
HTTP_PROTOCOL_UUID = '{0000000C-0000-1000-8000-00805F9B34FB}';
WSP_PROTOCOL_UUID = '{0000000E-0000-1000-8000-00805F9B34FB}';
BNEP_PROTOCOL_UUID = '{0000000F-0000-1000-8000-00805F9B34FB}';
UPNP_PROTOCOL_UUID = '{00000010-0000-1000-8000-00805F9B34FB}';
HID_PROTOCOL_UUID = '{00000011-0000-1000-8000-00805F9B34FB}';
HCCC_PROTOCOL_UUID = '{00000012-0000-1000-8000-00805F9B34FB}';
HCDC_PROTOCOL_UUID = '{00000014-0000-1000-8000-00805F9B34FB}';
HN_PROTOCOL_UUID = '{00000016-0000-1000-8000-00805F9B34FB}';
AVCTP_PROTOCOL_UUID = '{00000017-0000-1000-8000-00805F9B34FB}';
AVDTP_PROTOCOL_UUID = '{00000019-0000-1000-8000-00805F9B34FB}';
CMPT_PROTOCOL_UUID = '{0000001B-0000-1000-8000-00805F9B34FB}';
UDI_C_PLANE_PROTOCOL_UUID = '{0000001D-0000-1000-8000-00805F9B34FB}';
L2CAP_PROTOCOL_UUID = '{00000100-0000-1000-8000-00805F9B34FB}';
SDP_PROTOCOL_UUID = '{00000001-0000-1000-8000-00805F9B34FB}';
UDP_PROTOCOL_UUID = '{00000002-0000-1000-8000-00805F9B34FB}';
RFCOMM_PROTOCOL_UUID = '{00000003-0000-1000-8000-00805F9B34FB}';
TCP_PROTOCOL_UUID = '{00000004-0000-1000-8000-00805F9B34FB}';
TCSBIN_PROTOCOL_UUID = '{00000005-0000-1000-8000-00805F9B34FB}';
TCSAT_PROTOCOL_UUID = '{00000006-0000-1000-8000-00805F9B34FB}';
OBEX_PROTOCOL_UUID = '{00000008-0000-1000-8000-00805F9B34FB}';
IP_PROTOCOL_UUID = '{00000009-0000-1000-8000-00805F9B34FB}';
FTP_PROTOCOL_UUID = '{0000000A-0000-1000-8000-00805F9B34FB}';
HTTP_PROTOCOL_UUID = '{0000000C-0000-1000-8000-00805F9B34FB}';
WSP_PROTOCOL_UUID = '{0000000E-0000-1000-8000-00805F9B34FB}';
BNEP_PROTOCOL_UUID = '{0000000F-0000-1000-8000-00805F9B34FB}';
UPNP_PROTOCOL_UUID = '{00000010-0000-1000-8000-00805F9B34FB}';
HID_PROTOCOL_UUID = '{00000011-0000-1000-8000-00805F9B34FB}';
HCCC_PROTOCOL_UUID = '{00000012-0000-1000-8000-00805F9B34FB}';
HCDC_PROTOCOL_UUID = '{00000014-0000-1000-8000-00805F9B34FB}';
HN_PROTOCOL_UUID = '{00000016-0000-1000-8000-00805F9B34FB}';
AVCTP_PROTOCOL_UUID = '{00000017-0000-1000-8000-00805F9B34FB}';
AVDTP_PROTOCOL_UUID = '{00000019-0000-1000-8000-00805F9B34FB}';
CMPT_PROTOCOL_UUID = '{0000001B-0000-1000-8000-00805F9B34FB}';
UDI_C_PLANE_PROTOCOL_UUID = '{0000001D-0000-1000-8000-00805F9B34FB}';
L2CAP_PROTOCOL_UUID = '{00000100-0000-1000-8000-00805F9B34FB}';
► Ref.Service class IDs
ServiceDiscoveryServerServiceClassID_UUID = '{00001000-0000-1000-8000-00805F9B34FB}';
BrowseGroupDescriptorServiceClassID_UUID = '{00001001-0000-1000-8000-00805F9B34FB}';
PublicBrowseGroupServiceClass_UUID = '{00001002-0000-1000-8000-00805F9B34FB}';
SerialPortServiceClass_UUID = '{00001101-0000-1000-8000-00805F9B34FB}';
LANAccessUsingPPPServiceClass_UUID = '{00001102-0000-1000-8000-00805F9B34FB}';
DialupNetworkingServiceClass_UUID = '{00001103-0000-1000-8000-00805F9B34FB}';
IrMCSyncServiceClass_UUID = '{00001104-0000-1000-8000-00805F9B34FB}';
OBEXObjectPushServiceClass_UUID = '{00001105-0000-1000-8000-00805F9B34FB}';
OBEXFileTransferServiceClass_UUID = '{00001106-0000-1000-8000-00805F9B34FB}';
IrMCSyncCommandServiceClass_UUID = '{00001107-0000-1000-8000-00805F9B34FB}';
HeadsetServiceClass_UUID = '{00001108-0000-1000-8000-00805F9B34FB}';
CordlessTelephonyServiceClass_UUID = '{00001109-0000-1000-8000-00805F9B34FB}';
AudioSourceServiceClass_UUID = '{0000110A-0000-1000-8000-00805F9B34FB}';
AudioSinkServiceClass_UUID = '{0000110B-0000-1000-8000-00805F9B34FB}';
AVRemoteControlTargetServiceClass_UUID = '{0000110C-0000-1000-8000-00805F9B34FB}';
AdvancedAudioDistributionServiceClass_UUID = '{0000110D-0000-1000-8000-00805F9B34FB}';
AVRemoteControlServiceClass_UUID = '{0000110E-0000-1000-8000-00805F9B34FB}';
VideoConferencingServiceClass_UUID = '{0000110F-0000-1000-8000-00805F9B34FB}';
IntercomServiceClass_UUID = '{00001110-0000-1000-8000-00805F9B34FB}';
FaxServiceClass_UUID = '{00001111-0000-1000-8000-00805F9B34FB}';
HeadsetAudioGatewayServiceClass_UUID = '{00001112-0000-1000-8000-00805F9B34FB}';
WAPServiceClass_UUID = '{00001113-0000-1000-8000-00805F9B34FB}';
WAPClientServiceClass_UUID = '{00001114-0000-1000-8000-00805F9B34FB}';
PANUServiceClass_UUID = '{00001115-0000-1000-8000-00805F9B34FB}';
NAPServiceClass_UUID = '{00001116-0000-1000-8000-00805F9B34FB}';
GNServiceClass_UUID = '{00001117-0000-1000-8000-00805F9B34FB}';
DirectPrintingServiceClass_UUID = '{00001118-0000-1000-8000-00805F9B34FB}';
ReferencePrintingServiceClass_UUID = '{00001119-0000-1000-8000-00805F9B34FB}';
ImagingServiceClass_UUID = '{0000111A-0000-1000-8000-00805F9B34FB}';
ImagingResponderServiceClass_UUID = '{0000111B-0000-1000-8000-00805F9B34FB}';
ImagingAutomaticArchiveServiceClass_UUID = '{0000111C-0000-1000-8000-00805F9B34FB}';
ImagingReferenceObjectsServiceClass_UUID = '{0000111D-0000-1000-8000-00805F9B34FB}';
HandsfreeServiceClass_UUID = '{0000111E-0000-1000-8000-00805F9B34FB}';
HandsfreeAudioGatewayServiceClass_UUID = '{0000111F-0000-1000-8000-00805F9B34FB}';
DirectPrintingReferenceObjectsServiceClass_UUID = '{00001120-0000-1000-8000-00805F9B34FB}';
ReflectedUIServiceClass_UUID = '{00001121-0000-1000-8000-00805F9B34FB}';
BasicPringingServiceClass_UUID = '{00001122-0000-1000-8000-00805F9B34FB}';
PrintingStatusServiceClass_UUID = '{00001123-0000-1000-8000-00805F9B34FB}';
HumanInterfaceDeviceServiceClass_UUID = '{00001124-0000-1000-8000-00805F9B34FB}';
HardcopyCableReplacementServiceClass_UUID = '{00001125-0000-1000-8000-00805F9B34FB}';
HCRPrintServiceClass_UUID = '{00001126-0000-1000-8000-00805F9B34FB}';
HCRScanServiceClass_UUID = '{00001127-0000-1000-8000-00805F9B34FB}';
CommonISDNAccessServiceClass_UUID = '{00001128-0000-1000-8000-00805F9B34FB}';
VideoConferencingGWServiceClass_UUID = '{00001129-0000-1000-8000-00805F9B34FB}';
UDIMTServiceClass_UUID = '{0000112A-0000-1000-8000-00805F9B34FB}';
UDITAServiceClass_UUID = '{0000112B-0000-1000-8000-00805F9B34FB}';
AudioVideoServiceClass_UUID = '{0000112C-0000-1000-8000-00805F9B34FB}';
PnPInformationServiceClass_UUID = '{00001200-0000-1000-8000-00805F9B34FB}';
GenericNetworkingServiceClass_UUID = '{00001201-0000-1000-8000-00805F9B34FB}';
GenericFileTransferServiceClass_UUID = '{00001202-0000-1000-8000-00805F9B34FB}';
GenericAudioServiceClass_UUID = '{00001203-0000-1000-8000-00805F9B34FB}';
GenericAudioServiceClass_UUID = '{00001203-0000-1000-8000-00805F9B34FB}';
GenericTelephonyServiceClass_UUID = '{00001204-0000-1000-8000-00805F9B34FB}';
UPnPServiceClass_UUID = '{00001205-0000-1000-8000-00805F9B34FB}';
UPnPIpServiceClass_UUID = '{00001206-0000-1000-8000-00805F9B34FB}';
ESdpUPnPIpPanServiceClass_UUID = '{00001300-0000-1000-8000-00805F9B34FB}';
ESdpUPnPIpLapServiceClass_UUID = '{00001301-0000-1000-8000-00805F9B34FB}';
EdpUPnpIpL2CAPServiceClass_UUID = '{00001302-0000-1000-8000-00805F9B34FB}';
BrowseGroupDescriptorServiceClassID_UUID = '{00001001-0000-1000-8000-00805F9B34FB}';
PublicBrowseGroupServiceClass_UUID = '{00001002-0000-1000-8000-00805F9B34FB}';
SerialPortServiceClass_UUID = '{00001101-0000-1000-8000-00805F9B34FB}';
LANAccessUsingPPPServiceClass_UUID = '{00001102-0000-1000-8000-00805F9B34FB}';
DialupNetworkingServiceClass_UUID = '{00001103-0000-1000-8000-00805F9B34FB}';
IrMCSyncServiceClass_UUID = '{00001104-0000-1000-8000-00805F9B34FB}';
OBEXObjectPushServiceClass_UUID = '{00001105-0000-1000-8000-00805F9B34FB}';
OBEXFileTransferServiceClass_UUID = '{00001106-0000-1000-8000-00805F9B34FB}';
IrMCSyncCommandServiceClass_UUID = '{00001107-0000-1000-8000-00805F9B34FB}';
HeadsetServiceClass_UUID = '{00001108-0000-1000-8000-00805F9B34FB}';
CordlessTelephonyServiceClass_UUID = '{00001109-0000-1000-8000-00805F9B34FB}';
AudioSourceServiceClass_UUID = '{0000110A-0000-1000-8000-00805F9B34FB}';
AudioSinkServiceClass_UUID = '{0000110B-0000-1000-8000-00805F9B34FB}';
AVRemoteControlTargetServiceClass_UUID = '{0000110C-0000-1000-8000-00805F9B34FB}';
AdvancedAudioDistributionServiceClass_UUID = '{0000110D-0000-1000-8000-00805F9B34FB}';
AVRemoteControlServiceClass_UUID = '{0000110E-0000-1000-8000-00805F9B34FB}';
VideoConferencingServiceClass_UUID = '{0000110F-0000-1000-8000-00805F9B34FB}';
IntercomServiceClass_UUID = '{00001110-0000-1000-8000-00805F9B34FB}';
FaxServiceClass_UUID = '{00001111-0000-1000-8000-00805F9B34FB}';
HeadsetAudioGatewayServiceClass_UUID = '{00001112-0000-1000-8000-00805F9B34FB}';
WAPServiceClass_UUID = '{00001113-0000-1000-8000-00805F9B34FB}';
WAPClientServiceClass_UUID = '{00001114-0000-1000-8000-00805F9B34FB}';
PANUServiceClass_UUID = '{00001115-0000-1000-8000-00805F9B34FB}';
NAPServiceClass_UUID = '{00001116-0000-1000-8000-00805F9B34FB}';
GNServiceClass_UUID = '{00001117-0000-1000-8000-00805F9B34FB}';
DirectPrintingServiceClass_UUID = '{00001118-0000-1000-8000-00805F9B34FB}';
ReferencePrintingServiceClass_UUID = '{00001119-0000-1000-8000-00805F9B34FB}';
ImagingServiceClass_UUID = '{0000111A-0000-1000-8000-00805F9B34FB}';
ImagingResponderServiceClass_UUID = '{0000111B-0000-1000-8000-00805F9B34FB}';
ImagingAutomaticArchiveServiceClass_UUID = '{0000111C-0000-1000-8000-00805F9B34FB}';
ImagingReferenceObjectsServiceClass_UUID = '{0000111D-0000-1000-8000-00805F9B34FB}';
HandsfreeServiceClass_UUID = '{0000111E-0000-1000-8000-00805F9B34FB}';
HandsfreeAudioGatewayServiceClass_UUID = '{0000111F-0000-1000-8000-00805F9B34FB}';
DirectPrintingReferenceObjectsServiceClass_UUID = '{00001120-0000-1000-8000-00805F9B34FB}';
ReflectedUIServiceClass_UUID = '{00001121-0000-1000-8000-00805F9B34FB}';
BasicPringingServiceClass_UUID = '{00001122-0000-1000-8000-00805F9B34FB}';
PrintingStatusServiceClass_UUID = '{00001123-0000-1000-8000-00805F9B34FB}';
HumanInterfaceDeviceServiceClass_UUID = '{00001124-0000-1000-8000-00805F9B34FB}';
HardcopyCableReplacementServiceClass_UUID = '{00001125-0000-1000-8000-00805F9B34FB}';
HCRPrintServiceClass_UUID = '{00001126-0000-1000-8000-00805F9B34FB}';
HCRScanServiceClass_UUID = '{00001127-0000-1000-8000-00805F9B34FB}';
CommonISDNAccessServiceClass_UUID = '{00001128-0000-1000-8000-00805F9B34FB}';
VideoConferencingGWServiceClass_UUID = '{00001129-0000-1000-8000-00805F9B34FB}';
UDIMTServiceClass_UUID = '{0000112A-0000-1000-8000-00805F9B34FB}';
UDITAServiceClass_UUID = '{0000112B-0000-1000-8000-00805F9B34FB}';
AudioVideoServiceClass_UUID = '{0000112C-0000-1000-8000-00805F9B34FB}';
PnPInformationServiceClass_UUID = '{00001200-0000-1000-8000-00805F9B34FB}';
GenericNetworkingServiceClass_UUID = '{00001201-0000-1000-8000-00805F9B34FB}';
GenericFileTransferServiceClass_UUID = '{00001202-0000-1000-8000-00805F9B34FB}';
GenericAudioServiceClass_UUID = '{00001203-0000-1000-8000-00805F9B34FB}';
GenericAudioServiceClass_UUID = '{00001203-0000-1000-8000-00805F9B34FB}';
GenericTelephonyServiceClass_UUID = '{00001204-0000-1000-8000-00805F9B34FB}';
UPnPServiceClass_UUID = '{00001205-0000-1000-8000-00805F9B34FB}';
UPnPIpServiceClass_UUID = '{00001206-0000-1000-8000-00805F9B34FB}';
ESdpUPnPIpPanServiceClass_UUID = '{00001300-0000-1000-8000-00805F9B34FB}';
ESdpUPnPIpLapServiceClass_UUID = '{00001301-0000-1000-8000-00805F9B34FB}';
EdpUPnpIpL2CAPServiceClass_UUID = '{00001302-0000-1000-8000-00805F9B34FB}';
from
https://kunyichen.wordpress.com/2007/06/08/bluetooth-service-uuid-list/
http://www.javaworld.com.tw/jute/post/view?bid=26&id=275260