HCI_OpenConnection (Windows CE 5.0)
This function opens a connection between the HCI layer in the stack and the Bluetooth hardware.
int HCI_OpenConnection(void);
Parameters
None.
Return Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_hcip.h.
Link Library: Btd.lib.
See Also
Bluetooth HCI Transport Layer Functions | Transferring Data
Send Feedback on this topic to the authors