VelocAI logo Bluetooth Explorer Documentation

Bluetooth GATT Characteristic Reference

Digital (0x2A56)

org.bluetooth.characteristic.digital

The Digital characteristic is used to expose and change the state of an IO Module?s digital signals.

Quick Summary

Payload length is profile-defined or variable based on field formats. 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
NameDigital
UUID0x2A56
Typeorg.bluetooth.characteristic.digital
XML RootCharacteristic
Source Fileorg.bluetooth.characteristic.digital.xml
Field Count1

Field Specification

Parsed field definitions from the source XML value structure.

Field Requirement Format Unit Exponent Notes
DigitalMandatory2bit--The Digital characteristic is an array of n 2-bit values in a bit field

Byte Layout and Decode

Payload length is profile-defined or variable based on field formats.

function decodePayload(dataView, offset = 0) {
  // Parse digital (2bit) according to Bluetooth format rules.
  return { digital };
}

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 Digital in Bluetooth GATT?

Digital is defined as a Bluetooth GATT characteristic entry with type org.bluetooth.characteristic.digital and UUID 0x2A56.

What UUID identifies Digital?

The UUID for Digital is 0x2A56.

How should I parse Digital?

Payload length is profile-defined or variable based on field formats.

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.