Share via


Bluetooth Stack Extension Layer IOCTLs (Windows Embedded CE 6.0)

1/6/2010

The following table shows the IOCTLs available to OS developers for the Bluetooth stack extension layer, with a description of the purpose of each.

Programming element Description

BTH_HCI_IOCTL_GET_BASEBAND_HANDLES

This IOCTL retrieves baseband connections that are currently active.

BTH_HCI_IOCTL_GET_BD_FOR_HANDLE

This IOCTL retrieves the address of a peer Bluetooth–based device for connection handle.

BTH_HCI_IOCTL_GET_COMMANDSIZE

This IOCTL retrieves the loopback status.

BTH_HCI_IOCTL_GET_ERRORS

This IOCTL retrieves the number of hardware errors.

BTH_HCI_IOCTL_GET_FLOW

This IOCTL retrieves host flow control status.

BTH_HCI_IOCTL_GET_HANDLE_FOR_BD

This IOCTL retrieves the connection handle for a Bluetooth device if it is connected.

BTH_HCI_IOCTL_GET_HANDLE_MODE

This IOCTL retrieves the mode for active baseband connections.

BTH_HCI_IOCTL_GET_HARDWARE_STATUS

This IOCTL retrieves the current state of the hardware, whether the card is in or out of the Bluetooth stack.

BTH_HCI_IOCTL_GET_INQUIRY

This IOCTL retrieves the inquiry status. The status is TRUE if currently in inquiry.

BTH_HCI_IOCTL_GET_LAST_INQUIRY_DATA

This IOCTL retrieves the inquiry parameters from the cache for a particular device.

BTH_HCI_IOCTL_GET_LOOPBACK

This IOCTL retrieves the loopback status.

BTH_HCI_IOCTL_GET_NUM_ONDEVICE

This IOCTL retrieves the number of unconfirmed packets sent to the hardware.

BTH_HCI_IOCTL_GET_NUM_PENDING

This IOCTL retrieves the number of confirmed and pending packets that are in execution on the hardware.

BTH_HCI_IOCTL_GET_NUM_UNSENT

This IOCTL retrieves the number of packets pending before being sent to the card.

BTH_HCI_IOCTL_GET_PERIODIC_INQUIRY

This IOCTL retrieves periodic inquiry status. The status is TRUE if currently in periodic inquiry.

BTH_HCI_IOCTL_GET_UNDER_TEST

This IOCTL retrieves the hardware testing state.

BTH_HCI_IOCTL_HANDLE_AUTHENTICATED

This IOCTL retrieves the authentication status of the connection.

BTH_HCI_IOCTL_HANDLE_ENCRYPTED

This IOCTL retrieves the encryption status of the connection.

BTH_STACK_IOCTL_GET_CONNECTED

This IOCTL retrieves state of the hardware.

BTH_HCI_IOCTL_GET_SCO_PARAMETERS

This IOCTL retrieves information about a SCO connection.

BTH_HCI_IOCTL_GET_BASEBAND_CONNECTIONS

This IOCTL retrieves information about the baseband connection.

BTH_HCI_IOCTL_GET_REMOTE_COD

This IOCTL retrieves the remote class of device (COD) of the peer device.

See Also

Reference

Bluetooth Stack Extension Layer Reference

Other Resources

Bluetooth