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 file contains compile-time configurable constants for the BTA Phone 22 * Book Access Server. 23 * 24 ******************************************************************************/ 25 26#include "bt_target.h" 27 28#if defined(BTA_PBS_INCLUDED) && (BTA_PBS_INCLUDED == TRUE) 29 30#include "bta_pbs_int.h" 31 32/* Realm Character Set */ 33#ifndef BTA_PBS_REALM_CHARSET 34#define BTA_PBS_REALM_CHARSET 0 /* ASCII */ 35#endif 36 37/* Specifies whether or not client's user id is required during obex authentication */ 38#ifndef BTA_PBS_USERID_REQ 39#define BTA_PBS_USERID_REQ FALSE 40#endif 41 42const tBTA_PBS_CFG bta_pbs_cfg = 43{ 44 BTA_PBS_REALM_CHARSET, /* Server only */ 45 BTA_PBS_USERID_REQ, /* Server only */ 46 (BTA_PBS_SUPF_DOWNLOAD | BTA_PBS_SURF_BROWSE), 47 BTA_PBS_REPOSIT_LOCAL, 48}; 49 50tBTA_PBS_CFG *p_bta_pbs_cfg = (tBTA_PBS_CFG *)&bta_pbs_cfg; 51#endif /* BTA_PBS_INCLUDED */ 52