src.bluetooth_sig.gatt.characteristics.boot_keyboard_output_report

Boot Keyboard Output Report characteristic implementation.

Classes

Name

Description

BootKeyboardOutputReportCharacteristic

Boot Keyboard Output Report characteristic (0x2A32).

KeyboardLEDs

Keyboard LED states bitmap.

Module Contents

class src.bluetooth_sig.gatt.characteristics.boot_keyboard_output_report.BootKeyboardOutputReportCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[KeyboardLEDs]

Boot Keyboard Output Report characteristic (0x2A32).

org.bluetooth.characteristic.boot_keyboard_output_report

Contains keyboard LED states from host to keyboard following USB HID boot protocol. Format: 1 byte - LED states bitmap.

Spec Reference:

USB HID Specification v1.11, Appendix B - Boot Interface Descriptors

allow_variable_length = False
max_length = 1
min_length = 1
class src.bluetooth_sig.gatt.characteristics.boot_keyboard_output_report.KeyboardLEDs

Bases: enum.IntFlag

Keyboard LED states bitmap.

CAPS_LOCK = 2
COMPOSE = 8
KANA = 16
NUM_LOCK = 1
SCROLL_LOCK = 4