Home | History | Annotate | Download | only in parser
      1 /*
      2  *
      3  *  BlueZ - Bluetooth protocol stack for Linux
      4  *
      5  *  Copyright (C) 2001-2002  Ricky Yuen <ryuen (at) qualcomm.com>
      6  *  Copyright (C) 2003-2007  Marcel Holtmann <marcel (at) holtmann.org>
      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
     21  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     22  *
     23  */
     24 
     25 #ifndef __SDP_H
     26 #define __SDP_H
     27 
     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
     40 #define SDP_UUID_BNEP                                  0x000F /* PAN */
     41 #define SDP_UUID_HIDP                                  0x0011 /* HID */
     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 */
     45 #define SDP_UUID_AVCTP                                 0x0017 /* AVCTP */
     46 #define SDP_UUID_AVDTP                                 0x0019 /* AVDTP */
     47 #define SDP_UUID_CMTP                                  0x001B /* CIP */
     48 #define SDP_UUID_UDI_C_PLANE                           0x001D /* UDI */
     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
     64 #define SDP_UUID_AUDIO_SOURCE                          0x110a /* A2DP */
     65 #define SDP_UUID_AUDIO_SINK                            0x110b /* A2DP */
     66 #define SDP_UUID_AV_REMOTE_TARGET                      0x110c /* AVRCP */
     67 #define SDP_UUID_ADVANCED_AUDIO                        0x110d /* A2DP */
     68 #define SDP_UUID_AV_REMOTE                             0x110e /* AVRCP */
     69 #define SDP_UUID_VIDEO_CONFERENCING                    0x110f /* VCP */
     70 #define SDP_UUID_INTERCOM                              0x1110
     71 #define SDP_UUID_FAX                                   0x1111
     72 #define SDP_UUID_HEADSET_AUDIO_GATEWAY                 0x1112
     73 #define SDP_UUID_WAP                                   0x1113
     74 #define SDP_UUID_WAP_CLIENT                            0x1114
     75 #define SDP_UUID_PANU                                  0x1115 /* PAN */
     76 #define SDP_UUID_NAP                                   0x1116 /* PAN */
     77 #define SDP_UUID_GN                                    0x1117 /* PAN */
     78 #define SDP_UUID_DIRECT_PRINTING                       0x1118 /* BPP */
     79 #define SDP_UUID_REFERENCE_PRINTING                    0x1119 /* BPP */
     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 */
     84 #define SDP_UUID_HANDSFREE                             0x111e
     85 #define SDP_UUID_HANDSFREE_AUDIO_GATEWAY               0x111f
     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 */
     91 #define SDP_UUID_HUMAN_INTERFACE_DEVICE                0x1124 /* HID */
     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 */
     95 #define SDP_UUID_COMMON_ISDN_ACCESS                    0x1128 /* CIP */
     96 #define SDP_UUID_VIDEO_CONFERENCING_GW                 0x1129 /* VCP */
     97 #define SDP_UUID_UDI_MT                                0x112a /* UDI */
     98 #define SDP_UUID_UDI_TA                                0x112b /* UDI */
     99 #define SDP_UUID_AUDIO_VIDEO                           0x112c /* VCP */
    100 #define SDP_UUID_SIM_ACCESS                            0x112d /* SAP */
    101 #define SDP_UUID_PHONEBOOK_ACCESS_PCE                  0x112e /* PBAP */
    102 #define SDP_UUID_PHONEBOOK_ACCESS_PSE                  0x112f /* PBAP */
    103 #define SDP_UUID_PHONEBOOK_ACCESS                      0x1130 /* PBAP */
    104 #define SDP_UUID_PNP_INFORMATION                       0x1200
    105 #define SDP_UUID_GENERIC_NETWORKING                    0x1201
    106 #define SDP_UUID_GENERIC_FILE_TRANSFER                 0x1202
    107 #define SDP_UUID_GENERIC_AUDIO                         0x1203
    108 #define SDP_UUID_GENERIC_TELEPHONY                     0x1204
    109 #define SDP_UUID_UPNP_SERVICE                          0x1205 /* ESDP */
    110 #define SDP_UUID_UPNP_IP_SERVICE                       0x1206 /* ESDP */
    111 #define SDP_UUID_ESDP_UPNP_IP_PAN                      0x1300 /* ESDP */
    112 #define SDP_UUID_ESDP_UPNP_IP_LAP                      0x1301 /* ESDP */
    113 #define SDP_UUID_ESDP_UPNP_L2CAP                       0x1302 /* ESDP */
    114 #define SDP_UUID_VIDEO_SOURCE                          0x1303 /* VDP */
    115 #define SDP_UUID_VIDEO_SINK                            0x1304 /* VDP */
    116 #define SDP_UUID_VIDEO_DISTRIBUTION                    0x1305 /* VDP */
    117 #define SDP_UUID_APPLE_AGENT                           0x2112
    118 
    119 /* Bluetooth assigned numbers for Attribute IDs */
    120 #define SDP_ATTR_ID_SERVICE_RECORD_HANDLE              0x0000
    121 #define SDP_ATTR_ID_SERVICE_CLASS_ID_LIST              0x0001
    122 #define SDP_ATTR_ID_SERVICE_RECORD_STATE               0x0002
    123 #define SDP_ATTR_ID_SERVICE_SERVICE_ID                 0x0003
    124 #define SDP_ATTR_ID_PROTOCOL_DESCRIPTOR_LIST           0x0004
    125 #define SDP_ATTR_ID_BROWSE_GROUP_LIST                  0x0005
    126 #define SDP_ATTR_ID_LANGUAGE_BASE_ATTRIBUTE_ID_LIST    0x0006
    127 #define SDP_ATTR_ID_SERVICE_INFO_TIME_TO_LIVE          0x0007
    128 #define SDP_ATTR_ID_SERVICE_AVAILABILITY               0x0008
    129 #define SDP_ATTR_ID_BLUETOOTH_PROFILE_DESCRIPTOR_LIST  0x0009
    130 #define SDP_ATTR_ID_DOCUMENTATION_URL                  0x000A
    131 #define SDP_ATTR_ID_CLIENT_EXECUTABLE_URL              0x000B
    132 #define SDP_ATTR_ID_ICON_10                            0x000C
    133 #define SDP_ATTR_ID_ICON_URL                           0x000D
    134 #define SDP_ATTR_ID_SERVICE_NAME                       0x0100
    135 #define SDP_ATTR_ID_SERVICE_DESCRIPTION                0x0101
    136 #define SDP_ATTR_ID_PROVIDER_NAME                      0x0102
    137 #define SDP_ATTR_ID_VERSION_NUMBER_LIST                0x0200
    138 #define SDP_ATTR_ID_GROUP_ID                           0x0200
    139 #define SDP_ATTR_ID_SERVICE_DATABASE_STATE             0x0201
    140 #define SDP_ATTR_ID_SERVICE_VERSION                    0x0300
    141 
    142 #define SDP_ATTR_ID_EXTERNAL_NETWORK                   0x0301 /* Cordless Telephony */
    143 #define SDP_ATTR_ID_SUPPORTED_DATA_STORES_LIST         0x0301 /* Synchronization */
    144 #define SDP_ATTR_ID_REMOTE_AUDIO_VOLUME_CONTROL        0x0302 /* GAP */
    145 #define SDP_ATTR_ID_SUPPORTED_FORMATS_LIST             0x0303 /* OBEX Object Push */
    146 #define SDP_ATTR_ID_FAX_CLASS_1_SUPPORT                0x0302 /* Fax */
    147 #define SDP_ATTR_ID_FAX_CLASS_2_0_SUPPORT              0x0303
    148 #define SDP_ATTR_ID_FAX_CLASS_2_SUPPORT                0x0304
    149 #define SDP_ATTR_ID_AUDIO_FEEDBACK_SUPPORT             0x0305
    150 #define SDP_ATTR_ID_SECURITY_DESCRIPTION               0x030a /* PAN */
    151 #define SDP_ATTR_ID_NET_ACCESS_TYPE                    0x030b /* PAN */
    152 #define SDP_ATTR_ID_MAX_NET_ACCESS_RATE                0x030c /* PAN */
    153 #define SDP_ATTR_ID_IPV4_SUBNET                        0x030d /* PAN */
    154 #define SDP_ATTR_ID_IPV6_SUBNET                        0x030e /* PAN */
    155 
    156 #define SDP_ATTR_ID_SUPPORTED_CAPABILITIES             0x0310 /* Imaging */
    157 #define SDP_ATTR_ID_SUPPORTED_FEATURES                 0x0311 /* Imaging and Hansfree */
    158 #define SDP_ATTR_ID_SUPPORTED_FUNCTIONS                0x0312 /* Imaging */
    159 #define SDP_ATTR_ID_TOTAL_IMAGING_DATA_CAPACITY        0x0313 /* Imaging */
    160 #define SDP_ATTR_ID_SUPPORTED_REPOSITORIES             0x0314 /* PBAP */
    161 
    162 #endif /* __SDP_H */
    163