summaryrefslogtreecommitdiffstats
path: root/stack/include/wbt_api.h
blob: be94e563956dee1d574023ef78ee880d9331fdbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*****************************************************************************
**
**  Name:           wbt_api.h
**
**  Description:    This file contains definitions and constants used by the
**                  Broadcom Bluetooth Extensions API software.
**
**  Copyright (c) 2003-2005, Broadcom Corp., All Rights Reserved.
**  WIDCOMM Bluetooth Core. Proprietary and confidential.
**
*****************************************************************************/
#ifndef WBT_API_H
#define WBT_API_H

#include "bt_target.h"

/*****************************************************************************
**  Constants and Types
*****************************************************************************/

/**************************
* SDP Attribute IDs *
***************************/
#define ATTR_ID_EXT_BRCM_VERSION    0x8001  /* UINT16 (0xmmnn - major, minor [0x0001]) mandatory */
#define ATTR_ID_EXT_PIN_CODE        0x8002  /* UINT32 4 - digit pin */

/**************************
* SDP Attribute ID Values *
***************************/
/* Version Attribute Value */
#define BRCM_EXT_VERSION            0x0001  /* UINT16 (0xmmnn - major, minor [0x0001]) mandatory */

/* Pin Code Attribute Value */
#define BRCM_EXT_PIN_CODE           0x00000000  /* UINT32 ('0000') */

/*****************************************************************************
**  External Function Declarations
*****************************************************************************/
#ifdef __cplusplus
extern "C"
{
#endif

BT_API extern BOOLEAN WBT_ExtCreateRecord(void);

/*** Features ***/
BT_API extern BOOLEAN WBT_ExtAddPinCode(void);


BT_API extern UINT32 wbt_sdp_show_ext(UINT8 scn, char *service_name,
                                      UINT8 pin_code_ext,
                                      UINT8 active_sync_ext);

#ifdef __cplusplus
}
#endif

#endif /* WBT_API_H */