summaryrefslogtreecommitdiffstats
path: root/bta/pan/bta_pan_api.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/pan/bta_pan_api.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/pan/bta_pan_api.c')
-rw-r--r--bta/pan/bta_pan_api.c54
1 files changed, 33 insertions, 21 deletions
diff --git a/bta/pan/bta_pan_api.c b/bta/pan/bta_pan_api.c
index 5a84668..6588230 100644
--- a/bta/pan/bta_pan_api.c
+++ b/bta/pan/bta_pan_api.c
@@ -1,15 +1,27 @@
-/*****************************************************************************
-**
-** Name: bta_pan_api.c
-**
-** Description: This is the implementation of the API for PAN
-** subsystem of BTA, Widcomm's Bluetooth application
-** layer for mobile phones.
-**
-** Copyright (c) 2004-2011, Broadcom Corp., All Rights Reserved.
-** Broadcom Bluetooth Core. Proprietary and confidential.
-**
-*****************************************************************************/
+/******************************************************************************
+ *
+ * Copyright (C) 2004-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 of the API for PAN subsystem of BTA,
+ * Broadcom's Bluetooth application layer for mobile phones.
+ *
+ ******************************************************************************/
#include "bt_target.h"
@@ -37,7 +49,7 @@ static const tBTA_SYS_REG bta_pan_reg =
** Description Enable PAN service. This function must be
** called before any other functions in the PAN API are called.
** When the enable operation is complete the callback function
-** will be called with a BTA_PAN_ENABLE_EVT.
+** will be called with a BTA_PAN_ENABLE_EVT.
**
** Returns void
**
@@ -66,8 +78,8 @@ void BTA_PanEnable(tBTA_PAN_CBACK p_cback)
**
** Function BTA_PanDisable
**
-** Description Disables PAN service.
-**
+** Description Disables PAN service.
+**
**
** Returns void
**
@@ -89,8 +101,8 @@ void BTA_PanDisable(void)
** Function BTA_PanSetRole
**
** Description Sets PAN roles. When the enable operation is complete
-** the callback function will be called with a BTA_PAN_SET_ROLE_EVT.
-**
+** the callback function will be called with a BTA_PAN_SET_ROLE_EVT.
+**
** Returns void
**
*******************************************************************************/
@@ -156,8 +168,8 @@ void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO *p_user_info, tBTA_PA
**
** Description Opens a connection to a peer device.
** When connection is open callback function is called
-** with a BTA_PAN_OPEN_EVT.
-**
+** with a BTA_PAN_OPEN_EVT.
+**
**
** Returns void
**
@@ -182,8 +194,8 @@ BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_
**
** Function BTA_PanClose
**
-** Description Close a PAN connection to a peer device.
-**
+** Description Close a PAN connection to a peer device.
+**
**
** Returns void
**