summaryrefslogtreecommitdiffstats
path: root/bta/ag/bta_ag_ci.c
diff options
context:
space:
mode:
authorAndre Eisenbach <andre@broadcom.com>2012-09-18 01:35:44 -0700
committerMatthew Xie <mattx@google.com>2012-09-18 16:26:28 -0700
commit6ef101187774e30ddba6b46bbedef549a42196ad (patch)
treef36eb347f03083671640fbc750171e3b951e0082 /bta/ag/bta_ag_ci.c
parentf80d3d045eab5f002be4b5e8a3d2d376fdf7581a (diff)
downloadexternal_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.zip
external_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.tar.gz
external_bluetooth_bluedroid-6ef101187774e30ddba6b46bbedef549a42196ad.tar.bz2
Initual Bluetooth open source release
First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
Diffstat (limited to 'bta/ag/bta_ag_ci.c')
-rw-r--r--bta/ag/bta_ag_ci.c44
1 files changed, 28 insertions, 16 deletions
diff --git a/bta/ag/bta_ag_ci.c b/bta/ag/bta_ag_ci.c
index bbd1a55..fd39e34 100644
--- a/bta/ag/bta_ag_ci.c
+++ b/bta/ag/bta_ag_ci.c
@@ -1,14 +1,26 @@
-/*****************************************************************************
-**
-** Name: bta_ag_ci.c
-**
-** Description: This is the implementation file for audio gateway call-in
-** functions.
-**
-** Copyright (c) 2003-2011, Broadcom Corp., All Rights Reserved.
-** Broadcom Bluetooth Core. Proprietary and confidential.
-**
-*****************************************************************************/
+/******************************************************************************
+ *
+ * Copyright (C) 2003-2012 Broadcom Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ * This is the implementation file for audio gateway call-in functions.
+ *
+ ******************************************************************************/
#include <string.h>
#include "bta_api.h"
@@ -21,11 +33,11 @@
**
** Function bta_ag_ci_rx_write
**
-** Description This function is called to send data to the AG when the AG
+** Description This function is called to send data to the AG when the AG
** is configured for AT command pass-through. The function
-** copies data to an event buffer and sends it.
+** copies data to an event buffer and sends it.
**
-** Returns void
+** Returns void
**
******************************************************************************/
void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len)
@@ -66,11 +78,11 @@ void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len)
**
** Function bta_ag_ci_slc_ready
**
-** Description This function is called to notify AG that SLC is up at
+** Description This function is called to notify AG that SLC is up at
** the application. This funcion is only used when the app
** is running in pass-through mode.
**
-** Returns void
+** Returns void
**
******************************************************************************/
void bta_ag_ci_slc_ready(UINT16 handle)