summaryrefslogtreecommitdiffstats
path: root/bta/include/bta_ag_api.h
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/include/bta_ag_api.h
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/include/bta_ag_api.h')
-rw-r--r--bta/include/bta_ag_api.h60
1 files changed, 36 insertions, 24 deletions
diff --git a/bta/include/bta_ag_api.h b/bta/include/bta_ag_api.h
index 32473ed..cc89374 100644
--- a/bta/include/bta_ag_api.h
+++ b/bta/include/bta_ag_api.h
@@ -1,15 +1,27 @@
-/*****************************************************************************
-**
-** Name: bta_ag_api.h
-**
-** Description: This is the public interface file for the audio gateway
-** (AG) subsystem of BTA, Widcomm's Bluetooth application
-** layer for mobile phones.
-**
-** 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 public interface file for the audio gateway (AG) subsystem
+ * of BTA, Broadcom's Bluetooth application layer for mobile phones.
+ *
+ ******************************************************************************/
#ifndef BTA_AG_API_H
#define BTA_AG_API_H
@@ -66,7 +78,7 @@ typedef UINT8 tBTA_AG_STATUS;
#define BTA_AG_IND_RES 5 /* Update an indicator value */
#define BTA_AG_BVRA_RES 6 /* Update voice recognition state */
#define BTA_AG_CNUM_RES 7 /* Send subscriber number response for AT+CNUM */
-#define BTA_AG_BTRH_RES 8 /* Send CCAP incoming call hold */
+#define BTA_AG_BTRH_RES 8 /* Send CCAP incoming call hold */
#define BTA_AG_CLCC_RES 9 /* Query list of calls */
#define BTA_AG_COPS_RES 10 /* Read network operator */
#define BTA_AG_IN_CALL_RES 11 /* Indicate incoming phone call */
@@ -357,7 +369,7 @@ extern "C"
**
** Function BTA_AgEnable
**
-** Description Enable the audio gateway service. When the enable
+** Description Enable the audio gateway service. When the enable
** operation is complete the callback function will be
** called with a BTA_AG_ENABLE_EVT. This function must
** be called before other function in the AG API are
@@ -373,7 +385,7 @@ BTA_API tBTA_STATUS BTA_AgEnable(tBTA_AG_PARSE_MODE parse_mode, tBTA_AG_CBACK *p
** Function BTA_AgDisable
**
** Description Disable the audio gateway service
-**
+**
**
** Returns void
**
@@ -398,7 +410,7 @@ BTA_API void BTA_AgRegister(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask,
** Function BTA_AgDeregister
**
** Description Deregister an audio gateway service.
-**
+**
**
** Returns void
**
@@ -413,7 +425,7 @@ BTA_API void BTA_AgDeregister(UINT16 handle);
** When connection is open callback function is called
** with a BTA_AG_OPEN_EVT. Only the data connection is
** opened. The audio connection is not opened.
-**
+**
**
** Returns void
**
@@ -426,7 +438,7 @@ BTA_API void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_
**
** Description Close the current connection to a headset or a handsfree
** Any current audio connection will also be closed
-**
+**
**
** Returns void
**
@@ -439,7 +451,7 @@ BTA_API void BTA_AgClose(UINT16 handle);
**
** Description Opens an audio connection to the currently connected
** headset or hnadsfree
-**
+**
**
** Returns void
**
@@ -452,7 +464,7 @@ BTA_API void BTA_AgAudioOpen(UINT16 handle);
**
** Description Close the currently active audio connection to a headset
** or hnadsfree. The data connection remains open
-**
+**
**
** Returns void
**
@@ -464,7 +476,7 @@ BTA_API void BTA_AgAudioClose(UINT16 handle);
** Function BTA_AgResult
**
** Description Send an AT result code to a headset or hands-free device.
-** This function is only used when the AG parse mode is set
+** This function is only used when the AG parse mode is set
** to BTA_AG_PARSE.
**
**
@@ -477,9 +489,9 @@ BTA_API void BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p
**
** Function BTA_AgSetCodec
**
-** Description Specify the codec type to be used for the subsequent
-** audio connection.
-**
+** Description Specify the codec type to be used for the subsequent
+** audio connection.
+**
**
**
** Returns void