1/******************************************************************************
2 *
3 *  Copyright (C) 2009-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 HL (HeaLth device profile) subsystem
22 *  call-in functions.
23 *
24 ******************************************************************************/
25#ifndef BTA_HL_CI_H
26#define BTA_HL_CI_H
27
28#include "bta_api.h"
29#include "bta_hl_api.h"
30
31
32/*****************************************************************************
33**  Constants and Data Types
34*****************************************************************************/
35/**************************
36**  Common Definitions
37***************************/
38/* Read Ready Event */
39/*****************************************************************************
40**  Function Declarations
41*****************************************************************************/
42/**************************
43**  Common Functions
44***************************/
45/*******************************************************************************
46**
47** Function         bta_hl_ci_get_tx_data
48**
49** Description      This function is called in response to the
50**                  bta_hl_co_get_tx_data call-out function.
51**
52** Parameters       mdl_handle -MDL handle
53**                  status - BTA_MA_STATUS_OK if operation is successful
54**                           BTA_MA_STATUS_FAIL if any errors have occurred.
55**                  evt    - evt from the call-out function
56**
57** Returns          void
58**
59*******************************************************************************/
60extern  void bta_hl_ci_get_tx_data(  tBTA_HL_MDL_HANDLE mdl_handle,
61                                     tBTA_HL_STATUS status,
62                                     UINT16 evt );
63
64/*******************************************************************************
65**
66** Function         bta_hl_ci_put_rx_data
67**
68** Description      This function is called in response to the
69**                  bta_hl_co_put_rx_data call-out function.
70**
71** Parameters       mdl_handle -MDL handle
72**                  status - BTA_MA_STATUS_OK if operation is successful
73**                           BTA_MA_STATUS_FAIL if any errors have occurred.
74**                  evt    - evt from the call-out function
75**
76** Returns          void
77**
78*******************************************************************************/
79extern  void bta_hl_ci_put_rx_data(  tBTA_HL_MDL_HANDLE mdl_handle,
80                                     tBTA_HL_STATUS status,
81                                     UINT16 evt );
82
83
84
85/*******************************************************************************
86**
87** Function         bta_hl_ci_get_echo_data
88**
89** Description      This function is called in response to the
90**                  bta_hl_co_get_echo_data call-out function.
91**
92** Parameters       mcl_handle -MCL handle
93**                  status - BTA_MA_STATUS_OK if operation is successful
94**                           BTA_MA_STATUS_FAIL if any errors have occurred.
95**                  evt    - evt from the call-out function
96**
97** Returns          void
98**
99*******************************************************************************/
100extern  void bta_hl_ci_get_echo_data(  tBTA_HL_MCL_HANDLE mcl_handle,
101                                       tBTA_HL_STATUS status,
102                                       UINT16 evt );
103
104
105/*******************************************************************************
106**
107** Function         bta_hl_ci_put_echo_data
108**
109** Description      This function is called in response to the
110**                  bta_hl_co_put_echo_data call-out function.
111**
112** Parameters       mcl_handle -MCL handle
113**                  status - BTA_MA_STATUS_OK if operation is successful
114**                           BTA_MA_STATUS_FAIL if any errors have occurred.
115**                  evt    - evt from the call-out function
116**
117** Returns          void
118**
119*******************************************************************************/
120extern void bta_hl_ci_put_echo_data(  tBTA_HL_MCL_HANDLE mcl_handle,
121                                      tBTA_HL_STATUS status,
122                                      UINT16 evt );
123#endif /* BTA_HL_CI_H */
124