Closing Connections (Windows Embedded CE 6.0)
1/6/2010
When the HCI wants to close communication to the Bluetooth controller, it issues an HCI_CloseConnection command. The HCI transport driver must then unblock and fail the pending HCI_ReadPacket call and shut down communications with the Bluetooth controller.
The HCI transport is not allowed to issue any commands that affect the state of the Bluetooth controller on its own, such as Reset, except in the context of the HCI_OpenConnection function.