BlueSoleil tm



Descargar 165.5 Kb.
Página1/8
Fecha de conversión13.03.2017
Tamaño165.5 Kb.
  1   2   3   4   5   6   7   8




BlueSoleilTM

Bluetooth API for Windows

Reference Manual

Nov 1st, 2004



IVT CORPORATION
5/F, Fa Zhan Plaza

No. 12, Shang Di Xin Xi Zhong Road,

Hai Dian District,

Beijing, 100085,

P. R. China
Tel: +86 10 82898225

Fax: +86 10 62963059


www.ivtcorporation.com

www.bluesoleil.com

support@bluesoleil.com
Revision History

Version

Date

Comments

0.60

November 1, 2004

    Initial version.

0.65

November 29, 2004

Changed mask constants for Get/SetRemoteDeviceInfo

Changed callback events and callback function prototypes

Added BT_StartBluetooth, BT_StopBluetooth, BT_CancelInquiry


0.70

December 10, 2004

Changed GENERAL_SERVICE_INFO

Changed BT_PairDevice

Added BT_GetConnectInfo


0.75

December 14, 2004

Added BT_GetVersion

0.76

March 10, 2005

Updated btfunc.dll internal implementation to be compatible with Windows Installer installation

0.79

March 15, 2005

Added new inquiry mode INQUIRY_GENERAL_REFRESH mode for BT_InquireDevices

Added new functions BT_GetConfiguration and BT_SetConfiguration





















0.81

June 23, 2005

Add BT_GetBtSpecVersion

0.82

July 6, 2005

Add BT_EnumConnections

Change parameter requirements for BT_GetConnectInfo






July 17, 2005

Add new API error return code BTSTATUS_DEVICE_NOT_EXIST for BT_ GetRemoteDeviceInfo

Change parameter requirements for BT_ConnectService with CLS_DIALUP_NET

Add event flag ("Global\\BluesoleilStarted")


0.83

October 13, 2005

Add support of disconnecting PAN incoming connections by BT_DisconnectService.



Contents

1 Introduction 1

2 System Requirements 1

3 Development Guide 1

4 Data Structure Reference 2

4.1 BLUETOOTH_DEVICE_INFO 2

4.2 BLUETOOTH_DEVICE_INFO_EX 3

4.3 SPP_CLIENT_PARAM 4

4.4 DUN_CLIENT_PARAM 5

4.5 OPP_CLIENT_PARAM 5

4.6 SYNC_CLIENT_PARAM 6

4.7 GENERAL_SERVICE_INFO 7

4.8 SPPEX_SERVICE_INFO 7

4.9 GENERAL_CONNECT_INFO 8

5 Function Reference 9

5.1 BT_InitializeLibrary 9

5.2 BT_UninitializeLibrary 9

5.3 BT_IsBlueSoleilStarted 10

5.4 BT_IsBluetoothReady 10

5.5 BT_StartBluetooth 10

5.6 BT_StopBluetooth 11

5.7 BT_GetLocalDeviceInfo 11

5.8 BT_SetLocalDeviceInfo 12

5.9 BT_GetRemoteDeviceInfo 13

5.10 BT_SetRemoteDeviceInfo 14

5.11 BT_PairDevice 15

5.12 BT_UnpairDevice 16

5.13 BT_ConnectService 17

5.14 BT_DisconnectService 18

5.15 BT_InquireDevices 19

5.16 BT_CancelInquiry 20

5.17 BT_BrowseServices 21

5.18 BT_GetConnectInfo 22

5.19 BT_StartSPPExService 23

5.20 BT_StopSPPExService 24

5.21 BT_SearchSPPExServices 24

5.22 BT_ConnectSPPExService 25

5.23 BT_DisconnectSPPExService 26

5.24 BT_RegisterCallback 27

5.25 BT_UnregisterCallback 30

5.26 BT_GetVersion 30

5.27 BT_GetBtSpecVersion 31

5.28 BT_EnumConnections 31





1Introduction


This document describes APIs exported by IVT BlueSoleil™ for Windows. These APIs are available after BlueSoleil is installed on a computer with MS Windows. With these APIs, applications can perform standard Bluetooth operations, including inquiring surrounding Bluetooth devices, authenticating a remote Bluetooth device, connecting to a service on a Bluetooth device, starting/stopping a service of BlueSoleil, etc.

NOTE: These APIs are tested under Microsoft Visual C++ 6.0 currently.

2System Requirements


To develop software based on BlueSoleil Bluetooth APIs, following hardware and software are required:

  • Windows 98 SE / ME / 2000 / XP

  • BlueSoleil version 1.6.0 or above


Compartir con tus amigos:
  1   2   3   4   5   6   7   8


La base de datos está protegida por derechos de autor ©bazica.org 2019
enviar mensaje

    Página principal