Compartilhar via


HCI_StartHardware (Compact 2013)

3/26/2014

This function initiates the Bluetooth hardware.

Syntax

int HCI_StartHardware(void);

Parameters

None.

Return Value

Returns TRUE on success; FALSE otherwise.

Remarks

The Bluetooth stack can call HCI_StartHardware to ensure that the hardware is present.

The driver may reattempt the initialization of the hardware. This function should call the HCI_TransportCallback function to indicate the DEVICE_UP condition and allow the transport layer to send notifications when hardware is attached or detached.

Requirements

Header

bt_hcip.h

Library

Btd.lib

See Also

Reference

Bluetooth HCI Transport Layer Functions
HCI_SetCallback