Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 749 Bytes

File metadata and controls

17 lines (12 loc) · 749 Bytes

BLE HID Service Example

Badge

The HidService implements the standard BLE HID service, providing dynamic and configurable HID input, output, and feature reports from a BLE peripheral to a BLE central.

The hid_service component is designed to be used with a NimBLE host stack.

Example

The example shows how to use the espp::HidService class together with the espp::BleGattServer class to create and manage a BLE GATT server that provides an HID service. It uses the hid-rp component's espp::GamepadReport<> to define a HID gamepad report descriptor and generate input reports.