src.bluetooth_sig.gatt.characteristics.magnetic_flux_density_3d

Magnetic Flux Density 3D characteristic implementation.

Classes

Name

Description

MagneticFluxDensity3DCharacteristic

Magnetic Flux Density - 3D characteristic (0x2AA1).

Module Contents

class src.bluetooth_sig.gatt.characteristics.magnetic_flux_density_3d.MagneticFluxDensity3DCharacteristic

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

Magnetic Flux Density - 3D characteristic (0x2AA1).

org.bluetooth.characteristic.magnetic_flux_density_3d

Magnetic flux density 3D characteristic.

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

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

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