diff options
Diffstat (limited to 'bta/sys/bd.c')
-rw-r--r-- | bta/sys/bd.c | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/bta/sys/bd.c b/bta/sys/bd.c index 3c639d1..052f9b9 100644 --- a/bta/sys/bd.c +++ b/bta/sys/bd.c @@ -1,13 +1,26 @@ -/***************************************************************************** -** -** Name: bd.c -** -** Description: BD address services. -** -** Copyright (c) 2003, Widcomm Inc., All Rights Reserved. -** Widcomm 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. + * + ******************************************************************************/ + +/****************************************************************************** + * + * BD address services. + * + ******************************************************************************/ #include "data_types.h" #include "bd.h" @@ -29,9 +42,9 @@ const BD_ADDR bd_addr_null= {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; ** Function bdcpy ** ** Description Copy bd addr b to a. -** ** -** Returns void +** +** Returns void ** *******************************************************************************/ void bdcpy(BD_ADDR a, const BD_ADDR b) @@ -49,7 +62,7 @@ void bdcpy(BD_ADDR a, const BD_ADDR b) ** Function bdcmp ** ** Description Compare bd addr b to a. -** +** ** ** Returns Zero if b==a, nonzero otherwise (like memcmp). ** @@ -73,7 +86,7 @@ int bdcmp(const BD_ADDR a, const BD_ADDR b) ** Function bdcmpany ** ** Description Compare bd addr to "any" bd addr. -** +** ** ** Returns Zero if a equals bd_addr_any. ** @@ -88,7 +101,7 @@ int bdcmpany(const BD_ADDR a) ** Function bdsetany ** ** Description Set bd addr to "any" bd addr. -** +** ** ** Returns void ** |