1 /****************************************************************************** 2 * 3 * Copyright (C) 1999-2012 Broadcom Corporation 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at: 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ******************************************************************************/ 18 19 /****************************************************************************** 20 * 21 * This file contains internally used ATT definitions 22 * 23 ******************************************************************************/ 24 25 #ifndef _GATTDEFS_H 26 #define _GATTDEFS_H 27 28 #define GATT_ILLEGAL_UUID 0 29 30 /* GATT attribute types 31 */ 32 #define GATT_UUID_PRI_SERVICE 0x2800 33 #define GATT_UUID_SEC_SERVICE 0x2801 34 #define GATT_UUID_INCLUDE_SERVICE 0x2802 35 #define GATT_UUID_CHAR_DECLARE 0x2803 /* Characteristic Declaration*/ 36 37 #define GATT_UUID_CHAR_EXT_PROP 0x2900 /* Characteristic Extended Properties */ 38 #define GATT_UUID_CHAR_DESCRIPTION 0x2901 /* Characteristic User Description*/ 39 #define GATT_UUID_CHAR_CLIENT_CONFIG 0x2902 /* Client Characteristic Configuration */ 40 #define GATT_UUID_CHAR_SRVR_CONFIG 0x2903 /* Server Characteristic Configuration */ 41 #define GATT_UUID_CHAR_PRESENT_FORMAT 0x2904 /* Characteristic Presentation Format*/ 42 #define GATT_UUID_CHAR_AGG_FORMAT 0x2905 /* Characteristic Aggregate Format*/ 43 #define GATT_UUID_CHAR_VALID_RANGE 0x2906 /* Characteristic Valid Range */ 44 #define GATT_UUID_EXT_RPT_REF_DESCR 0x2907 45 #define GATT_UUID_RPT_REF_DESCR 0x2908 46 47 48 /* GAP Profile Attributes 49 */ 50 #define GATT_UUID_GAP_DEVICE_NAME 0x2A00 51 #define GATT_UUID_GAP_ICON 0x2A01 52 #define GATT_UUID_GAP_PRIVACY_FLAG 0x2A02 53 #define GATT_UUID_GAP_RECONN_ADDR 0x2A03 54 #define GATT_UUID_GAP_PREF_CONN_PARAM 0x2A04 55 56 /* Attribute Profile Attribute UUID */ 57 #define GATT_UUID_GATT_SRV_CHGD 0x2A05 58 /* Attribute Protocol Test */ 59 60 #endif 61