summaryrefslogtreecommitdiffstats
path: root/bta/include/bta_jv_co.h
blob: 09e09c5c1bc9d85b15712af7c023391cb00c076a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*****************************************************************************
**
**  Name:           bta_jv_co.h
**
**  Description:    This is the interface file for java interface call-out
**                  functions.
**
**  Copyright (c) 2007, Widcomm Inc., All Rights Reserved.
**  Widcomm Bluetooth Core. Proprietary and confidential.
**
*****************************************************************************/
#ifndef BTA_JV_CO_H
#define BTA_JV_CO_H

#include "bta_jv_api.h"

/*****************************************************************************
**  Function Declarations
*****************************************************************************/


/*******************************************************************************
**
** Function         bta_jv_co_rfc_data
**
** Description      This function is called by JV to send data to the java glue
**                  code when the RX data path is configured to use a call-out
**
** Returns          void
**
*******************************************************************************/

BTA_API extern int bta_co_rfc_data_incoming(void *user_data, BT_HDR *p_buf);
BTA_API extern int bta_co_rfc_data_outgoing_size(void *user_data, int *size);
BTA_API extern int bta_co_rfc_data_outgoing(void *user_data, UINT8* buf, UINT16 size);

#endif /* BTA_DG_CO_H */