blob: 7ccbfadc10a9b668e452e32c7ced3c476a518f1a [file] [log] [blame]
The Android Open Source Project5738f832012-12-12 16:00:35 -08001/******************************************************************************
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/*****************************************************************************
Myles Watson8af480e2016-11-09 10:40:23 -080030 * Function Declarations
31 ****************************************************************************/
The Android Open Source Project5738f832012-12-12 16:00:35 -080032#ifdef __cplusplus
Pavlin Radoslavovb2a292b2016-10-14 19:34:48 -070033extern "C" {
The Android Open Source Project5738f832012-12-12 16:00:35 -080034#endif
35
36/*******************************************************************************
Myles Watson8af480e2016-11-09 10:40:23 -080037 *
38 * Function bta_dm_ci_io_req
39 *
40 * Description This function must be called in response to function
41 * bta_dm_co_io_req(), if *p_oob_data is set to BTA_OOB_UNKNOWN
42 * by bta_dm_co_io_req().
43 *
44 * Returns void
45 *
46 ******************************************************************************/
June R. Tate-Gans24933b52014-09-24 15:25:02 -070047extern void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap,
The Android Open Source Project5738f832012-12-12 16:00:35 -080048 tBTA_OOB_DATA oob_data, tBTA_AUTH_REQ auth_req);
49
50/*******************************************************************************
Myles Watson8af480e2016-11-09 10:40:23 -080051 *
52 * Function bta_dm_ci_rmt_oob
53 *
54 * Description This function must be called in response to function
55 * bta_dm_co_rmt_oob() to provide the OOB data associated
56 * with the remote device.
57 *
58 * Returns void
59 *
60 ******************************************************************************/
Marie Janssene9e58ce2016-06-17 14:12:17 -070061extern void bta_dm_ci_rmt_oob(bool accept, BD_ADDR bd_addr,
June R. Tate-Gans24933b52014-09-24 15:25:02 -070062 BT_OCTET16 c, BT_OCTET16 r);
The Android Open Source Project5738f832012-12-12 16:00:35 -080063/*******************************************************************************
Myles Watson8af480e2016-11-09 10:40:23 -080064 *
65 * Function bta_dm_sco_ci_data_ready
66 *
67 * Description This function sends an event to indicating that the phone
68 * has SCO data ready..
69 *
70 * Returns void
71 *
72 ******************************************************************************/
Marie Janssene9e58ce2016-06-17 14:12:17 -070073extern void bta_dm_sco_ci_data_ready(uint16_t event, uint16_t sco_handle);
The Android Open Source Project5738f832012-12-12 16:00:35 -080074
75#ifdef __cplusplus
76}
77#endif
78
79#endif