Bluetooth Profile Driver IOCTLs

This section contains reference pages for the Bluetooth device I/O control (IOCTL) requests that are supported by the Bluetooth driver stack.

A profile driver communicates with its device by submitting IRPs down the driver stack to the primary driver of the Bluetooth driver stack, Bthport.sys.

To make I/O requests, include the header file Bthioctl.h, which is available in the Microsoft Windows Driver Kit (WDK).

The Bluetooth driver stack supports the following IOCTLs for kernel-mode callers using IRP_MJ_DEVICE_CONTROL or user-mode callers using DeviceIoControl:

IOCTL_BTH_DISCONNECT_DEVICE

IOCTL_BTH_GET_DEVICE_INFO

IOCTL_BTH_GET_LOCAL_INFO

IOCTL_BTH_GET_RADIO_INFO

IOCTL_BTH_SDP_ATTRIBUTE_SEARCH

IOCTL_BTH_SDP_CONNECT

IOCTL_BTH_SDP_DISCONNECT

IOCTL_BTH_SDP_REMOVE_RECORD

IOCTL_BTH_SDP_SERVICE_ATTRIBUTE_SEARCH

IOCTL_BTH_SDP_SERVICE_SEARCH

IOCTL_BTH_SDP_SUBMIT_RECORD

IOCTL_BTH_SDP_SUBMIT_RECORD_WITH_INFO

The following IOCTLs are available only to kernel-mode callers using IRP_MJ_INTERNAL_DEVICE_CONTROL:

IOCTL_INTERNAL_BTH_SUBMIT_BRB

IOCTL_INTERNAL_BTHENUM_GET_DEVINFO

IOCTL_INTERNAL_BTHENUM_GET_ENUMINFO

In addition, depending on the functionality they support, profile drivers may need to implement the necessary Bluetooth Callback Function Prototypes.

 

 

Send comments about this topic to Microsoft

Show: