1 /****************************************************************************** 2 * 3 * Copyright (C) 2003-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 audio gateway call-in functions. 22 * 23 ******************************************************************************/ 24 #ifndef BTA_AG_CI_H 25 #define BTA_AG_CI_H 26 27 #include "bta_ag_api.h" 28 29 /***************************************************************************** 30 ** Function Declarations 31 *****************************************************************************/ 32 #ifdef __cplusplus 33 extern "C" 34 { 35 #endif 36 37 /******************************************************************************* 38 ** 39 ** Function bta_ag_ci_rx_write 40 ** 41 ** Description This function is called to send data to the AG when the AG 42 ** is configured for AT command pass-through. The function 43 ** copies data to an event buffer and sends it. 44 ** 45 ** Returns void 46 ** 47 *******************************************************************************/ 48 extern void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len); 49 50 /****************************************************************************** 51 ** 52 ** Function bta_ag_ci_slc_ready 53 ** 54 ** Description This function is called to notify AG that SLC is up at 55 ** the application. This funcion is only used when the app 56 ** is running in pass-through mode. 57 ** 58 ** Returns void 59 ** 60 ******************************************************************************/ 61 extern void bta_ag_ci_slc_ready(UINT16 handle); 62 63 // btla-specific ++ 64 /****************************************************************************** 65 ** 66 ** Function bta_ag_ci_wbs_command 67 ** 68 ** Description This function is called to notify AG that a WBS command is 69 ** received 70 ** 71 ** Returns void 72 ** 73 ******************************************************************************/ 74 extern void bta_ag_ci_wbs_command (UINT16 handle, char *p_data, UINT16 len); 75 // btla-specific -- 76 77 #ifdef __cplusplus 78 } 79 #endif 80 81 #endif /* BTA_AG_CI_H */ 82