VelocAI logo Bluetooth Explorer Documentation

Bluetooth GATT Characteristic Reference

Magnetic Flux Density - 3D (0x2AA1)

org.bluetooth.characteristic.Magnetic_flux_density_3D

Magnetic Flux Density - 3D is defined in the Bluetooth GATT XML specification with type org.bluetooth.characteristic.Magnetic_flux_density_3D and UUID 0x2AA1.

Quick Summary

Payload length is 6 bytes. This page is generated from official GATT XML and presented as implementation-ready guidance.

At a Glance

Key reference details for BLE implementation, interoperability testing, and AI-assisted troubleshooting.

PropertyValue
NameMagnetic Flux Density - 3D
UUID0x2AA1
Typeorg.bluetooth.characteristic.Magnetic_flux_density_3D
XML RootCharacteristic
Source Fileorg.bluetooth.characteristic.Magnetic_flux_density_3D.xml
Field Count3

Field Specification

Parsed field definitions from the source XML value structure.

Field Requirement Format Unit Exponent Notes
Magnetic Flux Density: X-AxisMandatorysint16org.bluetooth.unit.magnetic_flux_density.tesla-7-
Magnetic Flux Density: Y-AxisMandatorysint16org.bluetooth.unit.magnetic_flux_density.tesla-7-
Magnetic Flux Density: Z-AxisMandatorysint16org.bluetooth.unit.magnetic_flux_density.tesla-7-

Byte Layout and Decode

Payload length is 6 bytes.

function decodePayload(dataView, offset = 0) {
  const magnetic_flux_density_x_axis = dataView.getInt16(offset + 0, true);
  const magnetic_flux_density_y_axis = dataView.getInt16(offset + 2, true);
  const magnetic_flux_density_z_axis = dataView.getInt16(offset + 4, true);
  return { magnetic_flux_density_x_axis, magnetic_flux_density_y_axis, magnetic_flux_density_z_axis };
}

Use Cases and Integration Notes

BLE Telemetry

Map characteristic values into dashboards and alerts for device observability.

Firmware Regression

Compare decoded fields across builds to detect protocol or scaling changes.

App Integration

Build stable parsing paths that convert raw payloads into typed app models.

Implementation Checklist

  • Validate payload length and mandatory fields before decode.
  • Decode with Bluetooth-specified signedness, unit, and exponent handling.
  • Convert units at presentation boundaries to avoid drift in business logic.
  • Persist raw packets and decoded values for reproducible troubleshooting.

FAQ

What is Magnetic Flux Density - 3D in Bluetooth GATT?

Magnetic Flux Density - 3D is defined as a Bluetooth GATT characteristic entry with type org.bluetooth.characteristic.Magnetic_flux_density_3D and UUID 0x2AA1.

What UUID identifies Magnetic Flux Density - 3D?

The UUID for Magnetic Flux Density - 3D is 0x2AA1.

How should I parse Magnetic Flux Density - 3D?

Payload length is 6 bytes.

Where does this definition come from?

This page is generated from the Bluetooth SIG mirror XML in the oesmith/gatt-xml repository.

How does this page support BLE implementation?

The page combines structured tables, practical Q&A, and JSON-LD metadata to help teams validate integrations and troubleshoot consistently.