Closing Connections through HCI (Windows CE 5.0)
The protocol layer can close an existing connection to the HCI layer by calling the HCI_CloseDeviceContext function. A call to HCI_CloseDeviceContext terminates all calls placed by the protocol layer and all connections owned by this layer to close.
int HCI_CloseDeviceContext(
HANDLE hDeviceContext /* IN */
);
To specify the connection to close, pass the device context handle returned by the HCI_EstablishDeviceContext function.
See Also
Host Controller Interface | Bluetooth OS Design Development | Establishing Connections through HCI | Bluetooth Protocol Stack
Send Feedback on this topic to the authors