Closing Connections through HCI (Windows Embedded CE 6.0)

1/6/2010

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

Concepts

Establishing Connections through HCI

Other Resources

Host Controller Interface
Bluetooth OS Design Development
Bluetooth Protocol Stack