HCI_OpenConnection (Compact 2013)
3/26/2014
This function opens a connection between the Host Controller Interface (HCI) layer in the stack and the Bluetooth hardware.
Syntax
int HCI_OpenConnection(void);
Parameters
None.
Return Value
Returns TRUE when a connection to the hardware is successfully established. Returns FALSE if the connection cannot be established.
Remarks
This function is used to set up, initialize, and establish a connection to the hardware. This is a blocking function that does not return until the transport is active or the attempt to open the connection has failed.
When this function returns TRUE the stack calls the HCI_ReadHciParameters function.
Requirements
Header |
bt_hcip.h |
Library |
Btd.lib |