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