OSDN Git Service

DO NOT MERGE Add packet length check in smp_proc_master_id
[android-x86/system-bt.git] / include / bte_appl.h
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 #endif
35 } tBTE_APPL_CFG;
36
37 extern tBTE_APPL_CFG bte_appl_cfg;