1 /****************************************************************************** 2 * 3 * Copyright (C) 2003-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 is the private file for the phone book access server (PBS). 22 * 23 ******************************************************************************/ 24 #ifndef BTA_PBS_INT_H 25 #define BTA_PBS_INT_H 26 27 #include "bt_target.h" 28 #include "bta_pbs_api.h" 29 30 /***************************************************************************** 31 ** Constants and data types 32 *****************************************************************************/ 33 34 #define BTA_PBS_TARGET_UUID "\x79\x61\x35\xf0\xf0\xc5\x11\xd8\x09\x66\x08\x00\x20\x0c\x9a\x66" 35 #define BTA_PBS_UUID_LENGTH 16 36 #define BTA_PBS_MAX_AUTH_KEY_SIZE 16 /* Must not be greater than OBX_MAX_AUTH_KEY_SIZE */ 37 38 #define BTA_PBS_DEFAULT_VERSION 0x0101 /* for PBAP PSE version 1.1 */ 39 40 41 /* Configuration structure */ 42 typedef struct 43 { 44 UINT8 realm_charset; /* Server only */ 45 BOOLEAN userid_req; /* TRUE if user id is required during obex authentication (Server only) */ 46 UINT8 supported_features; /* Server supported features */ 47 UINT8 supported_repositories; /* Server supported repositories */ 48 49 } tBTA_PBS_CFG; 50 51 52 /***************************************************************************** 53 ** Global data 54 *****************************************************************************/ 55 56 57 #endif /* BTA_PBS_INT_H */ 58