DEV Community

Cover image for USB HID Enumeration with BleuIO to create BLE application
Bleuio tech
Bleuio tech

Posted on

USB HID Enumeration with BleuIO to create BLE application

The BleuIO is a Bluetooth low energy USB dongle that can create new BLE 5.0 applications in the fastest and easiest way.

The BleuIO so far has been supporting the USB Serial Port Profile (SPP).

A new firmware has been released to allow the use of USB Human Interface Device Profile (HID).

The USB HID is usually available in the operating system without the need of external drivers. The makes less dependency in developing BLE applications.

Choose your desired firmware for BleuIO by using built in bootloader and select between USB profiles:

Serial Port Profile (SPP)
Human Interface Device Profile (HID)

HID Introduction

HID (Human Interface Device) defines a class of peripheral devices enables people to input data or interact directly with the computer, such as a mouse, keyboard, or joystick. The HID specification is a part of the USB standard, thus USB mice and other USB user input devices are HID compliant.

The host and the device are two entities in the HID protocol. The device is the entity that directly interacts with humans, such as a keyboard, mouse and BleuIO. The host communicates with the device and receives input data from the device in messages with 64 bytes size.

HID devices must meet a few general requirements that are imposed to keep the HID interface standardized and efficient.

Demo application

Bluetooth Special Interest Group (SIG) defines a HID profile that specifies how a device can support HID services over the Bluetooth LE protocol stack using the Generic Attribute Profile.

This example implementation shows how BleuIO can be used with the USB HID profile. The application allows to send BleuIO AT commands and displays the response on the screen.

USB HID Bluetooth

Discussion (0)