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 File 22 * System. 23 * 24 ******************************************************************************/ 25 26 #include "bt_target.h" 27 #include "bta_fs_api.h" 28 29 /* Character used as path separator */ 30 #ifndef BTA_FS_PATH_SEPARATOR 31 #define BTA_FS_PATH_SEPARATOR ((char) 0x2f) /* 0x2f ('/'), or 0x5c ('\') */ 32 #endif 33 34 /* Maximum path length supported by MMI */ 35 #ifndef BTA_FS_PATH_LEN 36 #define BTA_FS_PATH_LEN 294 37 #endif 38 39 #ifndef BTA_FS_FILE_LEN 40 #define BTA_FS_FILE_LEN 256 41 #endif 42 43 const tBTA_FS_CFG bta_fs_cfg = 44 { 45 BTA_FS_FILE_LEN, 46 BTA_FS_PATH_LEN, 47 BTA_FS_PATH_SEPARATOR 48 }; 49 50 tBTA_FS_CFG *p_bta_fs_cfg = (tBTA_FS_CFG *)&bta_fs_cfg; 51 52