Bluetooth GATT Characteristic Reference
True Wind Direction (0x2A71)
True Wind Direction is defined in the Bluetooth GATT XML specification with type org.bluetooth.characteristic.true_wind_direction and UUID 0x2A71.
Quick Summary
Payload length is 2 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.
| Property | Value |
|---|---|
| Name | True Wind Direction |
| UUID | 0x2A71 |
| Type | org.bluetooth.characteristic.true_wind_direction |
| XML Root | Characteristic |
| Source File | org.bluetooth.characteristic.true_wind_direction.xml |
| Field Count | 1 |
Field Specification
Parsed field definitions from the source XML value structure.
| Field | Requirement | Format | Unit | Exponent | Notes |
|---|---|---|---|---|---|
| True Wind Direction | Mandatory | uint16 | org.bluetooth.unit.plane_angle.degree | -2 | Unit is in degrees with a resolution of 0.01 degrees |
Byte Layout and Decode
Payload length is 2 bytes.
function decodePayload(dataView, offset = 0) {
const true_wind_direction = dataView.getUint16(offset + 0, true);
return { true_wind_direction };
}
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 True Wind Direction in Bluetooth GATT?
True Wind Direction is defined as a Bluetooth GATT characteristic entry with type org.bluetooth.characteristic.true_wind_direction and UUID 0x2A71.
What UUID identifies True Wind Direction?
The UUID for True Wind Direction is 0x2A71.
How should I parse True Wind Direction?
Payload length is 2 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.