src.bluetooth_sig.gatt.characteristics.scan_interval_window¶
Scan Interval Window characteristic implementation.
Classes¶
Name | Description |
|---|---|
Scan Interval Window characteristic (0x2A4F). |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.scan_interval_window.ScanIntervalWindowCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[src.bluetooth_sig.types.scan_interval_window.ScanIntervalWindowData]Scan Interval Window characteristic (0x2A4F).
org.bluetooth.characteristic.scan_interval_window
The Scan Interval Window characteristic is used to set the scan interval and scan window parameters for BLE scanning.
This is a write-only characteristic containing: - Scan Interval: uint16 (2 bytes, little-endian, units of 0.625ms, range 0x0004-0x4000) - Scan Window: uint16 (2 bytes, little-endian, units of 0.625ms, range 0x0004-0x4000)
The scan window must be less than or equal to the scan interval.
- max_length = 4¶
- min_length = 4¶