1 /****************************************************************************** 2 * 3 * Copyright (C) 2002-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 interface file for the bte application task 22 * 23 ******************************************************************************/ 24 25 #pragma once 26 27 typedef struct { 28 #if ((BLE_INCLUDED == TRUE) && (SMP_INCLUDED == TRUE)) 29 UINT8 ble_auth_req; 30 UINT8 ble_io_cap; 31 UINT8 ble_init_key; 32 UINT8 ble_resp_key; 33 UINT8 ble_max_key_size; 34 UINT8 ble_min_key_size; 35 UINT8 ble_accept_auth_enable; 36 UINT8 oob_support; 37 #endif 38 39 } tBTE_APPL_CFG; 40 41 extern tBTE_APPL_CFG bte_appl_cfg; 42 43 44 typedef struct { 45 #if ((CLASSIC_BT_INCLUDED == TRUE) && (BT_SSP_INCLUDED == TRUE)) 46 UINT8 bt_auth_req; 47 UINT8 bt_io_cap; 48 UINT8 *bt_oob_auth_data; 49 #endif 50 } tBTE_BT_APPL_CFG; 51 52 extern tBTE_BT_APPL_CFG bte_bt_appl_cfg; 53