src.bluetooth_sig.gatt.characteristics.magnetic_flux_density_2d

Magnetic Flux Density 2D characteristic implementation.

Classes

Name

Description

MagneticFluxDensity2DCharacteristic

Magnetic Flux Density - 2D characteristic (0x2AA0).

Module Contents

class src.bluetooth_sig.gatt.characteristics.magnetic_flux_density_2d.MagneticFluxDensity2DCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[src.bluetooth_sig.gatt.characteristics.templates.Vector2DData]

Magnetic Flux Density - 2D characteristic (0x2AA0).

org.bluetooth.characteristic.magnetic_flux_density_2d

Magnetic flux density 2D characteristic.

Represents measurements of magnetic flux density for two orthogonal axes: X and Y. Note that 1 x 10^-7 Tesla equals 0.001 Gauss.

Format: 2 x sint16 (4 bytes total) with 1e-7 Tesla resolution.

expected_length: int = 4
resolution: float = 1e-07