blob: ed55a23eac60149b4d1bbc3faf3a751f0dd12cbc [file] [log] [blame]
Max Krasnyansky57724fb2001-10-17 21:22:09 +00001/*
Marcel Holtmann780e7af2004-03-03 01:48:14 +00002 *
Marcel Holtmannf6a3c302005-10-29 20:26:13 +00003 * BlueZ - Bluetooth protocol stack for Linux
Marcel Holtmann780e7af2004-03-03 01:48:14 +00004 *
5 * Copyright (C) 2001-2002 Ricky Yuen <ryuen@qualcomm.com>
Marcel Holtmannc6b73e92011-01-27 08:50:11 +01006 * Copyright (C) 2003-2011 Marcel Holtmann <marcel@holtmann.org>
Marcel Holtmann780e7af2004-03-03 01:48:14 +00007 *
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
Marcel Holtmannf6a3c302005-10-29 20:26:13 +000021 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Marcel Holtmann780e7af2004-03-03 01:48:14 +000022 *
Max Krasnyansky57724fb2001-10-17 21:22:09 +000023 */
24
25#ifndef __SDP_H
26#define __SDP_H
27
Max Krasnyansky57724fb2001-10-17 21:22:09 +000028/* Bluetooth assigned UUIDs for protocols */
29#define SDP_UUID_SDP 0x0001
30#define SDP_UUID_UDP 0x0002
31#define SDP_UUID_RFCOMM 0x0003
32#define SDP_UUID_TCP 0x0004
33#define SDP_UUID_TCS_BIN 0x0005
34#define SDP_UUID_TCS_AT 0x0006
35#define SDP_UUID_OBEX 0x0008
36#define SDP_UUID_IP 0x0009
37#define SDP_UUID_FTP 0x000A
38#define SDP_UUID_HTTP 0x000C
39#define SDP_UUID_WSP 0x000E
Max Krasnyansky23a53d42002-03-12 18:47:34 +000040#define SDP_UUID_BNEP 0x000F /* PAN */
Marcel Holtmannb07652a2003-01-26 01:46:17 +000041#define SDP_UUID_HIDP 0x0011 /* HID */
Marcel Holtmann8f5b9802004-03-03 02:59:16 +000042#define SDP_UUID_HARDCOPY_CONTROL_CHANNEL 0x0012 /* HCRP */
43#define SDP_UUID_HARDCOPY_DATA_CHANNEL 0x0014 /* HCRP */
44#define SDP_UUID_HARDCOPY_NOTIFICATION 0x0016 /* HCRP */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000045#define SDP_UUID_AVCTP 0x0017 /* AVCTP */
Marcel Holtmann16e1f552004-06-09 13:36:58 +000046#define SDP_UUID_AVDTP 0x0019 /* AVDTP */
Marcel Holtmann5aed3532002-11-06 23:01:28 +000047#define SDP_UUID_CMTP 0x001B /* CIP */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000048#define SDP_UUID_UDI_C_PLANE 0x001D /* UDI */
Max Krasnyansky57724fb2001-10-17 21:22:09 +000049#define SDP_UUID_L2CAP 0x0100
50
51/* Bluetooth assigned UUIDs for Service Classes */
52#define SDP_UUID_SERVICE_DISCOVERY_SERVER 0x1000
53#define SDP_UUID_BROWSE_GROUP_DESCRIPTOR 0x1001
54#define SDP_UUID_PUBLIC_BROWSE_GROUP 0x1002
55#define SDP_UUID_SERIAL_PORT 0x1101
56#define SDP_UUID_LAN_ACCESS_PPP 0x1102
57#define SDP_UUID_DIALUP_NETWORKING 0x1103
58#define SDP_UUID_IR_MC_SYNC 0x1104
59#define SDP_UUID_OBEX_OBJECT_PUSH 0x1105
60#define SDP_UUID_OBEX_FILE_TRANSFER 0x1106
61#define SDP_UUID_IR_MC_SYNC_COMMAND 0x1107
62#define SDP_UUID_HEADSET 0x1108
63#define SDP_UUID_CORDLESS_TELEPHONY 0x1109
Marcel Holtmann16e1f552004-06-09 13:36:58 +000064#define SDP_UUID_AUDIO_SOURCE 0x110a /* A2DP */
65#define SDP_UUID_AUDIO_SINK 0x110b /* A2DP */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000066#define SDP_UUID_AV_REMOTE_TARGET 0x110c /* AVRCP */
Marcel Holtmann16e1f552004-06-09 13:36:58 +000067#define SDP_UUID_ADVANCED_AUDIO 0x110d /* A2DP */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000068#define SDP_UUID_AV_REMOTE 0x110e /* AVRCP */
Luiz Augusto von Dentz358614b2013-10-09 14:16:17 +030069#define SDP_UUID_AV_REMOTE_CONTROLLER 0x110f /* AVRCP */
Max Krasnyansky57724fb2001-10-17 21:22:09 +000070#define SDP_UUID_INTERCOM 0x1110
71#define SDP_UUID_FAX 0x1111
72#define SDP_UUID_HEADSET_AUDIO_GATEWAY 0x1112
Marcel Holtmannfd650c52004-11-29 03:42:50 +000073#define SDP_UUID_WAP 0x1113
74#define SDP_UUID_WAP_CLIENT 0x1114
Max Krasnyansky23a53d42002-03-12 18:47:34 +000075#define SDP_UUID_PANU 0x1115 /* PAN */
76#define SDP_UUID_NAP 0x1116 /* PAN */
77#define SDP_UUID_GN 0x1117 /* PAN */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000078#define SDP_UUID_DIRECT_PRINTING 0x1118 /* BPP */
79#define SDP_UUID_REFERENCE_PRINTING 0x1119 /* BPP */
Marcel Holtmanndeb94e92003-06-10 11:06:02 +000080#define SDP_UUID_IMAGING 0x111a /* BIP */
81#define SDP_UUID_IMAGING_RESPONDER 0x111b /* BIP */
82#define SDP_UUID_IMAGING_AUTOMATIC_ARCHIVE 0x111c /* BIP */
83#define SDP_UUID_IMAGING_REFERENCED_OBJECTS 0x111d /* BIP */
Marcel Holtmannff724d82004-10-13 12:10:06 +000084#define SDP_UUID_HANDSFREE 0x111e
85#define SDP_UUID_HANDSFREE_AUDIO_GATEWAY 0x111f
Marcel Holtmann72e9f242005-12-02 09:19:18 +000086#define SDP_UUID_DIRECT_PRINTING_REF_OBJS 0x1120 /* BPP */
87#define SDP_UUID_DIRECT_PRINTING_REFERENCE_OBJECTS 0x1120 /* BPP */
88#define SDP_UUID_REFLECTED_UI 0x1121 /* BPP */
89#define SDP_UUID_BASIC_PRINTING 0x1122 /* BPP */
90#define SDP_UUID_PRINTING_STATUS 0x1123 /* BPP */
Marcel Holtmannb07652a2003-01-26 01:46:17 +000091#define SDP_UUID_HUMAN_INTERFACE_DEVICE 0x1124 /* HID */
Marcel Holtmann78d594e2004-06-09 13:42:58 +000092#define SDP_UUID_HARDCOPY_CABLE_REPLACE 0x1125 /* HCRP */
93#define SDP_UUID_HCR_PRINT 0x1126 /* HCRP */
94#define SDP_UUID_HCR_SCAN 0x1127 /* HCRP */
Marcel Holtmann5aed3532002-11-06 23:01:28 +000095#define SDP_UUID_COMMON_ISDN_ACCESS 0x1128 /* CIP */
Marcel Holtmann72e9f242005-12-02 09:19:18 +000096#define SDP_UUID_UDI_MT 0x112a /* UDI */
97#define SDP_UUID_UDI_TA 0x112b /* UDI */
98#define SDP_UUID_AUDIO_VIDEO 0x112c /* VCP */
Marcel Holtmannff724d82004-10-13 12:10:06 +000099#define SDP_UUID_SIM_ACCESS 0x112d /* SAP */
Marcel Holtmannd57731d2005-08-07 11:22:27 +0000100#define SDP_UUID_PHONEBOOK_ACCESS_PCE 0x112e /* PBAP */
101#define SDP_UUID_PHONEBOOK_ACCESS_PSE 0x112f /* PBAP */
Marcel Holtmannabe36822006-06-03 10:46:59 +0000102#define SDP_UUID_PHONEBOOK_ACCESS 0x1130 /* PBAP */
Max Krasnyansky57724fb2001-10-17 21:22:09 +0000103#define SDP_UUID_PNP_INFORMATION 0x1200
104#define SDP_UUID_GENERIC_NETWORKING 0x1201
105#define SDP_UUID_GENERIC_FILE_TRANSFER 0x1202
106#define SDP_UUID_GENERIC_AUDIO 0x1203
107#define SDP_UUID_GENERIC_TELEPHONY 0x1204
Marcel Holtmann72e9f242005-12-02 09:19:18 +0000108#define SDP_UUID_UPNP_SERVICE 0x1205 /* ESDP */
109#define SDP_UUID_UPNP_IP_SERVICE 0x1206 /* ESDP */
110#define SDP_UUID_ESDP_UPNP_IP_PAN 0x1300 /* ESDP */
111#define SDP_UUID_ESDP_UPNP_IP_LAP 0x1301 /* ESDP */
112#define SDP_UUID_ESDP_UPNP_L2CAP 0x1302 /* ESDP */
Marcel Holtmann16e1f552004-06-09 13:36:58 +0000113#define SDP_UUID_VIDEO_SOURCE 0x1303 /* VDP */
114#define SDP_UUID_VIDEO_SINK 0x1304 /* VDP */
Marcel Holtmann567734d2005-08-06 17:44:35 +0000115#define SDP_UUID_VIDEO_DISTRIBUTION 0x1305 /* VDP */
Marcel Holtmann259a99e2006-01-04 00:05:05 +0000116#define SDP_UUID_APPLE_AGENT 0x2112
Max Krasnyansky57724fb2001-10-17 21:22:09 +0000117
118/* Bluetooth assigned numbers for Attribute IDs */
119#define SDP_ATTR_ID_SERVICE_RECORD_HANDLE 0x0000
120#define SDP_ATTR_ID_SERVICE_CLASS_ID_LIST 0x0001
121#define SDP_ATTR_ID_SERVICE_RECORD_STATE 0x0002
122#define SDP_ATTR_ID_SERVICE_SERVICE_ID 0x0003
123#define SDP_ATTR_ID_PROTOCOL_DESCRIPTOR_LIST 0x0004
124#define SDP_ATTR_ID_BROWSE_GROUP_LIST 0x0005
125#define SDP_ATTR_ID_LANGUAGE_BASE_ATTRIBUTE_ID_LIST 0x0006
126#define SDP_ATTR_ID_SERVICE_INFO_TIME_TO_LIVE 0x0007
127#define SDP_ATTR_ID_SERVICE_AVAILABILITY 0x0008
128#define SDP_ATTR_ID_BLUETOOTH_PROFILE_DESCRIPTOR_LIST 0x0009
129#define SDP_ATTR_ID_DOCUMENTATION_URL 0x000A
130#define SDP_ATTR_ID_CLIENT_EXECUTABLE_URL 0x000B
Iain Hibbert053d5392010-02-17 10:26:04 +0000131#define SDP_ATTR_ID_ICON_URL 0x000C
132#define SDP_ATTR_ID_ADDITIONAL_PROTOCOL_DESC_LISTS 0x000D
Max Krasnyansky57724fb2001-10-17 21:22:09 +0000133#define SDP_ATTR_ID_SERVICE_NAME 0x0100
134#define SDP_ATTR_ID_SERVICE_DESCRIPTION 0x0101
135#define SDP_ATTR_ID_PROVIDER_NAME 0x0102
136#define SDP_ATTR_ID_VERSION_NUMBER_LIST 0x0200
137#define SDP_ATTR_ID_GROUP_ID 0x0200
138#define SDP_ATTR_ID_SERVICE_DATABASE_STATE 0x0201
139#define SDP_ATTR_ID_SERVICE_VERSION 0x0300
140
141#define SDP_ATTR_ID_EXTERNAL_NETWORK 0x0301 /* Cordless Telephony */
142#define SDP_ATTR_ID_SUPPORTED_DATA_STORES_LIST 0x0301 /* Synchronization */
143#define SDP_ATTR_ID_REMOTE_AUDIO_VOLUME_CONTROL 0x0302 /* GAP */
144#define SDP_ATTR_ID_SUPPORTED_FORMATS_LIST 0x0303 /* OBEX Object Push */
145#define SDP_ATTR_ID_FAX_CLASS_1_SUPPORT 0x0302 /* Fax */
146#define SDP_ATTR_ID_FAX_CLASS_2_0_SUPPORT 0x0303
147#define SDP_ATTR_ID_FAX_CLASS_2_SUPPORT 0x0304
148#define SDP_ATTR_ID_AUDIO_FEEDBACK_SUPPORT 0x0305
Max Krasnyansky23a53d42002-03-12 18:47:34 +0000149#define SDP_ATTR_ID_SECURITY_DESCRIPTION 0x030a /* PAN */
150#define SDP_ATTR_ID_NET_ACCESS_TYPE 0x030b /* PAN */
151#define SDP_ATTR_ID_MAX_NET_ACCESS_RATE 0x030c /* PAN */
152#define SDP_ATTR_ID_IPV4_SUBNET 0x030d /* PAN */
153#define SDP_ATTR_ID_IPV6_SUBNET 0x030e /* PAN */
Max Krasnyansky57724fb2001-10-17 21:22:09 +0000154
Marcel Holtmannd1e4a4b2005-08-22 10:45:26 +0000155#define SDP_ATTR_ID_SUPPORTED_CAPABILITIES 0x0310 /* Imaging */
156#define SDP_ATTR_ID_SUPPORTED_FEATURES 0x0311 /* Imaging and Hansfree */
157#define SDP_ATTR_ID_SUPPORTED_FUNCTIONS 0x0312 /* Imaging */
158#define SDP_ATTR_ID_TOTAL_IMAGING_DATA_CAPACITY 0x0313 /* Imaging */
159#define SDP_ATTR_ID_SUPPORTED_REPOSITORIES 0x0314 /* PBAP */
160
Max Krasnyansky57724fb2001-10-17 21:22:09 +0000161#endif /* __SDP_H */