HCI_OpenConnection

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function opens a connection between the HCI layer in the stack and the Bluetooth hardware.

Syntax

int HCI_OpenConnection(void);

Parameters

None.

Return Value

TRUE indicates that the transport is active. When this condition occurs, the stack calls the HCI_ReadHciParameters function.

Remarks

This function is used to set up, initialize, and establish a connection to the hardware. It returns TRUE when a connection to the hardware is successfully established. This is a blocking function.

Requirements

Header bt_hcip.h
Library Btd.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth HCI Transport Layer Functions

Concepts

Transferring Data