Human Interface Device (HID) Profile (Windows CE 5.0)
The HID profile defines protocols, procedures, and usage scenarios for using HIDs, such as keyboard and mouse, over a Bluetooth connection. For information about this profile, see the Human Interface Device Specification at the Official Bluetooth Wireless Info Web site.
The device that hosts the Bluetooth stack uses the Service Discovery Protocol (SDP) to discover HIDs. The Bluetooth stack on the host must include the following:
- HID class driver that initiates, establishes, and terminates a connection with the HID.
- SDP parser that parses the SDP record of the HID.
Before the HID is activated, it must send its device information, called descriptor, to the class driver on the host. The class driver uses the descriptor to determine device characteristics in order to enable controls on the device. After a Bluetooth connection is established between the HID and the host, the HID can communicate with the class driver over an L2CAP connection. For more information about the HID class driver provided by Microsoft® Windows® CE, see HID Class Driver Support.
Although not required by the Human Interface Device Specification, Microsoft highly recommends that you use encryption and authentication to protect sensitive data sent by the HID. To enhance the security of the connection, configure the registry settings of the HID. For more information about these registry settings, see Human Interface Device (HID) Profile Registry Settings.
Windows CE also provides the following IOCTLs that you can use to connect and disconnect the HID device from the Bluetooth stack on the host.
See Also
Bluetooth Profiles | Bluetooth OS Design Development | Bluetooth Stack Architecture
Send Feedback on this topic to the authors