Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 1 | /* |
Marcel Holtmann | 780e7af | 2004-03-03 01:48:14 +0000 | [diff] [blame] | 2 | * |
Marcel Holtmann | f6a3c30 | 2005-10-29 20:26:13 +0000 | [diff] [blame] | 3 | * BlueZ - Bluetooth protocol stack for Linux |
Marcel Holtmann | 780e7af | 2004-03-03 01:48:14 +0000 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2001-2002 Ricky Yuen <ryuen@qualcomm.com> |
Marcel Holtmann | c6b73e9 | 2011-01-27 08:50:11 +0100 | [diff] [blame] | 6 | * Copyright (C) 2003-2011 Marcel Holtmann <marcel@holtmann.org> |
Marcel Holtmann | 780e7af | 2004-03-03 01:48:14 +0000 | [diff] [blame] | 7 | * |
| 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 Holtmann | f6a3c30 | 2005-10-29 20:26:13 +0000 | [diff] [blame] | 21 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Marcel Holtmann | 780e7af | 2004-03-03 01:48:14 +0000 | [diff] [blame] | 22 | * |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 23 | */ |
| 24 | |
| 25 | #ifndef __SDP_H |
| 26 | #define __SDP_H |
| 27 | |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 28 | /* 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 Krasnyansky | 23a53d4 | 2002-03-12 18:47:34 +0000 | [diff] [blame] | 40 | #define SDP_UUID_BNEP 0x000F /* PAN */ |
Marcel Holtmann | b07652a | 2003-01-26 01:46:17 +0000 | [diff] [blame] | 41 | #define SDP_UUID_HIDP 0x0011 /* HID */ |
Marcel Holtmann | 8f5b980 | 2004-03-03 02:59:16 +0000 | [diff] [blame] | 42 | #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 Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 45 | #define SDP_UUID_AVCTP 0x0017 /* AVCTP */ |
Marcel Holtmann | 16e1f55 | 2004-06-09 13:36:58 +0000 | [diff] [blame] | 46 | #define SDP_UUID_AVDTP 0x0019 /* AVDTP */ |
Marcel Holtmann | 5aed353 | 2002-11-06 23:01:28 +0000 | [diff] [blame] | 47 | #define SDP_UUID_CMTP 0x001B /* CIP */ |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 48 | #define SDP_UUID_UDI_C_PLANE 0x001D /* UDI */ |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 49 | #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 Holtmann | 16e1f55 | 2004-06-09 13:36:58 +0000 | [diff] [blame] | 64 | #define SDP_UUID_AUDIO_SOURCE 0x110a /* A2DP */ |
| 65 | #define SDP_UUID_AUDIO_SINK 0x110b /* A2DP */ |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 66 | #define SDP_UUID_AV_REMOTE_TARGET 0x110c /* AVRCP */ |
Marcel Holtmann | 16e1f55 | 2004-06-09 13:36:58 +0000 | [diff] [blame] | 67 | #define SDP_UUID_ADVANCED_AUDIO 0x110d /* A2DP */ |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 68 | #define SDP_UUID_AV_REMOTE 0x110e /* AVRCP */ |
Luiz Augusto von Dentz | 358614b | 2013-10-09 14:16:17 +0300 | [diff] [blame] | 69 | #define SDP_UUID_AV_REMOTE_CONTROLLER 0x110f /* AVRCP */ |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 70 | #define SDP_UUID_INTERCOM 0x1110 |
| 71 | #define SDP_UUID_FAX 0x1111 |
| 72 | #define SDP_UUID_HEADSET_AUDIO_GATEWAY 0x1112 |
Marcel Holtmann | fd650c5 | 2004-11-29 03:42:50 +0000 | [diff] [blame] | 73 | #define SDP_UUID_WAP 0x1113 |
| 74 | #define SDP_UUID_WAP_CLIENT 0x1114 |
Max Krasnyansky | 23a53d4 | 2002-03-12 18:47:34 +0000 | [diff] [blame] | 75 | #define SDP_UUID_PANU 0x1115 /* PAN */ |
| 76 | #define SDP_UUID_NAP 0x1116 /* PAN */ |
| 77 | #define SDP_UUID_GN 0x1117 /* PAN */ |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 78 | #define SDP_UUID_DIRECT_PRINTING 0x1118 /* BPP */ |
| 79 | #define SDP_UUID_REFERENCE_PRINTING 0x1119 /* BPP */ |
Marcel Holtmann | deb94e9 | 2003-06-10 11:06:02 +0000 | [diff] [blame] | 80 | #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 Holtmann | ff724d8 | 2004-10-13 12:10:06 +0000 | [diff] [blame] | 84 | #define SDP_UUID_HANDSFREE 0x111e |
| 85 | #define SDP_UUID_HANDSFREE_AUDIO_GATEWAY 0x111f |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 86 | #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 Holtmann | b07652a | 2003-01-26 01:46:17 +0000 | [diff] [blame] | 91 | #define SDP_UUID_HUMAN_INTERFACE_DEVICE 0x1124 /* HID */ |
Marcel Holtmann | 78d594e | 2004-06-09 13:42:58 +0000 | [diff] [blame] | 92 | #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 Holtmann | 5aed353 | 2002-11-06 23:01:28 +0000 | [diff] [blame] | 95 | #define SDP_UUID_COMMON_ISDN_ACCESS 0x1128 /* CIP */ |
Marcel Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 96 | #define SDP_UUID_UDI_MT 0x112a /* UDI */ |
| 97 | #define SDP_UUID_UDI_TA 0x112b /* UDI */ |
| 98 | #define SDP_UUID_AUDIO_VIDEO 0x112c /* VCP */ |
Marcel Holtmann | ff724d8 | 2004-10-13 12:10:06 +0000 | [diff] [blame] | 99 | #define SDP_UUID_SIM_ACCESS 0x112d /* SAP */ |
Marcel Holtmann | d57731d | 2005-08-07 11:22:27 +0000 | [diff] [blame] | 100 | #define SDP_UUID_PHONEBOOK_ACCESS_PCE 0x112e /* PBAP */ |
| 101 | #define SDP_UUID_PHONEBOOK_ACCESS_PSE 0x112f /* PBAP */ |
Marcel Holtmann | abe3682 | 2006-06-03 10:46:59 +0000 | [diff] [blame] | 102 | #define SDP_UUID_PHONEBOOK_ACCESS 0x1130 /* PBAP */ |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 103 | #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 Holtmann | 72e9f24 | 2005-12-02 09:19:18 +0000 | [diff] [blame] | 108 | #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 Holtmann | 16e1f55 | 2004-06-09 13:36:58 +0000 | [diff] [blame] | 113 | #define SDP_UUID_VIDEO_SOURCE 0x1303 /* VDP */ |
| 114 | #define SDP_UUID_VIDEO_SINK 0x1304 /* VDP */ |
Marcel Holtmann | 567734d | 2005-08-06 17:44:35 +0000 | [diff] [blame] | 115 | #define SDP_UUID_VIDEO_DISTRIBUTION 0x1305 /* VDP */ |
Marcel Holtmann | 259a99e | 2006-01-04 00:05:05 +0000 | [diff] [blame] | 116 | #define SDP_UUID_APPLE_AGENT 0x2112 |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 117 | |
| 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 Hibbert | 053d539 | 2010-02-17 10:26:04 +0000 | [diff] [blame] | 131 | #define SDP_ATTR_ID_ICON_URL 0x000C |
| 132 | #define SDP_ATTR_ID_ADDITIONAL_PROTOCOL_DESC_LISTS 0x000D |
Max Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 133 | #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 Krasnyansky | 23a53d4 | 2002-03-12 18:47:34 +0000 | [diff] [blame] | 149 | #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 Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 154 | |
Marcel Holtmann | d1e4a4b | 2005-08-22 10:45:26 +0000 | [diff] [blame] | 155 | #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 Krasnyansky | 57724fb | 2001-10-17 21:22:09 +0000 | [diff] [blame] | 161 | #endif /* __SDP_H */ |