src.bluetooth_sig.gatt.characteristics.hid_information¶
HID Information characteristic implementation.
Attributes¶
Name | Description |
|---|---|
Classes¶
Name | Description |
|---|---|
HID Information characteristic (0x2A4A). |
|
Parsed data from HID Information characteristic. |
|
HID Information flags as per Bluetooth HID specification. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.hid_information.HidInformationCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[HidInformationData]HID Information characteristic (0x2A4A).
org.bluetooth.characteristic.hid_information
HID Information characteristic.
- class src.bluetooth_sig.gatt.characteristics.hid_information.HidInformationData¶
Bases:
msgspec.StructParsed data from HID Information characteristic.
- bcd_hid¶
HID version in BCD format (uint16)
- b_country_code¶
Country code (uint8)
- flags¶
HID information flags
- flags: HidInformationFlags¶
- class src.bluetooth_sig.gatt.characteristics.hid_information.HidInformationFlags¶
Bases:
enum.IntFlagHID Information flags as per Bluetooth HID specification.
- NORMALLY_CONNECTABLE = 2¶
- REMOTE_WAKE = 1¶
- src.bluetooth_sig.gatt.characteristics.hid_information.BCD_HID_MAX = 65535¶
- src.bluetooth_sig.gatt.characteristics.hid_information.COUNTRY_CODE_MAX = 255¶
- src.bluetooth_sig.gatt.characteristics.hid_information.HID_INFO_DATA_LENGTH = 4¶