VelocAI logo Bluetooth Explorer Documentation

Bluetooth GATT Characteristic Reference

Peripheral Preferred Connection Parameters (0x2A04)

org.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters

Peripheral Preferred Connection Parameters is defined in the Bluetooth GATT XML specification with type org.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters and UUID 0x2A04.

Quick Summary

Payload length is 8 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
NamePeripheral Preferred Connection Parameters
UUID0x2A04
Typeorg.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters
XML RootCharacteristic
Source Fileorg.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters.xml
Field Count4

Field Specification

Parsed field definitions from the source XML value structure.

Field Requirement Format Unit Exponent Notes
Minimum Connection IntervalMandatoryuint16--connInterval_min = Minimum Connection Interval * 1.25 ms
Maximum Connection IntervalMandatoryuint16--connInterval_max = Maximum Connection Interval * 1.25 ms. and is equal or greater than the Minimum Connection Interval
Slave LatencyMandatoryuint16---
Connection Supervision Timeout MultiplierMandatoryuint16---

Byte Layout and Decode

Payload length is 8 bytes.

function decodePayload(dataView, offset = 0) {
  const minimum_connection_interval = dataView.getUint16(offset + 0, true);
  const maximum_connection_interval = dataView.getUint16(offset + 2, true);
  const slave_latency = dataView.getUint16(offset + 4, true);
  const connection_supervision_timeout_multiplier = dataView.getUint16(offset + 6, true);
  return { minimum_connection_interval, maximum_connection_interval, slave_latency, connection_supervision_timeout_multiplier };
}

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 Peripheral Preferred Connection Parameters in Bluetooth GATT?

Peripheral Preferred Connection Parameters is defined as a Bluetooth GATT characteristic entry with type org.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters and UUID 0x2A04.

What UUID identifies Peripheral Preferred Connection Parameters?

The UUID for Peripheral Preferred Connection Parameters is 0x2A04.

How should I parse Peripheral Preferred Connection Parameters?

Payload length is 8 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.