Partager via


HCI_OpenConnection (Windows Embedded CE 6.0)

1/6/2010

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