1/******************************************************************************
2 *
3 *  Copyright (C) 2006-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 device mananger call-in functions.
22 *
23 ******************************************************************************/
24#ifndef BTA_DM_CI_H
25#define BTA_DM_CI_H
26
27#include "bta_api.h"
28
29/*****************************************************************************
30**  Function Declarations
31*****************************************************************************/
32#ifdef __cplusplus
33extern "C"
34{
35#endif
36
37/*******************************************************************************
38**
39** Function         bta_dm_ci_io_req
40**
41** Description      This function must be called in response to function
42**                  bta_dm_co_io_req(), if *p_oob_data is set to BTA_OOB_UNKNOWN
43**                  by bta_dm_co_io_req().
44**
45** Returns          void
46**
47*******************************************************************************/
48BTA_API extern void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap,
49                                     tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
50
51/*******************************************************************************
52**
53** Function         bta_dm_ci_rmt_oob
54**
55** Description      This function must be called in response to function
56**                  bta_dm_co_rmt_oob() to provide the OOB data associated
57**                  with the remote device.
58**
59** Returns          void
60**
61*******************************************************************************/
62BTA_API extern void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr,
63                                      BT_OCTET16 c, BT_OCTET16 r);
64/*******************************************************************************
65**
66** Function         bta_dm_sco_ci_data_ready
67**
68** Description      This function sends an event to indicating that the phone
69**                  has SCO data ready..
70**
71** Returns          void
72**
73*******************************************************************************/
74BTA_API extern void bta_dm_sco_ci_data_ready(UINT16 event, UINT16 sco_handle);
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif
81
82