Glossary
Bluetooth is acronym-dense and several terms in this API mean something narrower than they sound. This page is the decoder.
Table of Contents
Terms That Cause Trouble
These four are worth reading even if you skip the rest.
Sink and Source — named for the display's role in the audio stream, not the remote device's. Sink means audio flows in, so AudioSink faces the phone. Source means audio flows out, so AudioSource faces the headset. The roles therefore invert across the display: a phone is an A2DP Source, so we must be a Sink to receive from it. Getting this backwards is the single most common source of confusion in this API.
Route versus pair — in MediaRelay, the phone-to-headset association is a route. It is not a pairing and involves no Bluetooth relationship between the two devices: both are bonded to the display, and neither knows the other exists. "Pairing" always means bonding.
Paired versus connected — pairing (bonding) is a persistent key exchange that survives power cycles. Connecting is a live radio link. Profile connected is narrower still: a specific profile usable over that link. A device can be paired and absent, or present and connected for one profile but not another. See Profile Connection Lifecycle.
Peripheral versus central — in BLE, the peripheral advertises and serves GATT; the central scans and connects. This extension implements the peripheral role only. There is no scanning and no GATT client.
Profiles and Protocols
| Term | Expansion | What it means here |
|---|---|---|
| A2DP | Advanced Audio Distribution Profile | Streaming stereo audio. Sink receives, Source sends. |
| AVRCP | Audio/Video Remote Control Profile | Media remote control and metadata. Controller sends commands; Target answers them. |
| AVCTP | Audio/Video Control Transport Protocol | The transport AVRCP rides on. Appears in BlueZ logs. |
| AVDTP | Audio/Video Distribution Transport Protocol | The transport A2DP rides on. Has its own bluetooth.conf section. |
| HFP | Hands-Free Profile | Voice calls. Implemented but not hardware-validated. |
| HSP | Headset Profile | Older, simpler predecessor to HFP. Appears as a device capability flag. |
| MAP | Message Access Profile | SMS/MMS access. Runs over OBEX. |
| PBAP | Phonebook Access Profile | Contact sync. Runs over OBEX. Implemented but not hardware-validated. |
| SPP | Serial Port Profile | Serial data over RFCOMM. Implemented but not hardware-validated. |
| OBEX | Object Exchange | Shared file/object transfer infrastructure, not a connectable profile. Managed by Ahsoka.Obex.service. |
| BIP | Basic Imaging Profile | Image transfer over OBEX. Used only for album art, and requires BlueZ Experimental = true. |
| OPP | Object Push Profile | Simple object push over OBEX. A device capability flag only. |
| GATT | Generic Attribute Profile | The BLE data model — services containing characteristics containing values. |
| GAP | Generic Access Profile | Discovery, connection, and security fundamentals. Internally the layer owning discovery and pairing. |
| SDP | Service Discovery Protocol | How a device advertises which profiles it supports. The source of SupportedProfiles. |
| iAP | iPod Accessory Protocol | Apple's accessory protocol. Not supported — detected via a flag only. |
| HID | Human Interface Device | Keyboards, mice, controllers. A capability flag only. |
| RFCOMM | — | Serial port emulation over Bluetooth. What SPP runs on. |
Bluetooth Concepts
| Term | Meaning |
|---|---|
| BR/EDR | Basic Rate / Enhanced Data Rate — "Bluetooth Classic". The radio mode for phones and headsets. Distinct from BLE. |
| BLE | Bluetooth Low Energy. A separate radio mode with its own service and client here. |
| CoD | Class of Device — a 24-bit value describing what a device is (phone, headset) via a major device class, minor device class, and service-class bits. Use for identity. |
| Bonding | The persistent key exchange commonly called pairing. |
| Pairing agent | The party that answers security prompts during bonding. The display is the agent, which is why your application has to confirm passkeys. |
| Discoverable | The adapter can be found by a scanning device. |
| Pairable | The adapter will accept a bonding attempt. Separate from discoverable — a device that already knows the display can connect without it being discoverable. |
| Passkey | The six-digit number used during pairing. The user either confirms it matches on both devices, or reads it off the display and types it on the remote device. |
| Absolute volume | AVRCP 1.4 volume as a level, 0–127. Negotiated per device — many devices lack it, and it cannot be forced on. |
| Passthrough | AVRCP commands forwarded as key presses (play, next, volume up). The legacy volume path for devices without absolute volume. |
| Characteristic | A single readable/writable value in a GATT service. |
| Descriptor | Metadata attached to a characteristic. |
| CCCD | Client Characteristic Configuration Descriptor — how a central subscribes to notifications. |
| Advertisement | The small periodic BLE broadcast a central scans for. Space is tight. |
| Manufacturer data | Vendor-specific bytes in an advertisement, keyed by a Bluetooth SIG company ID. |
| UUID | The identifier for a service or characteristic. Standard ones are short (180F); custom ones are full 128-bit. |
Platform and Implementation
| Term | Meaning |
|---|---|
| BlueZ | The Linux Bluetooth stack. The production implementation, driven over D-Bus. Version 5.84 on both OpenView Pro and OpenView Select. |
| bluetoothd | The BlueZ daemon. Runs as Ahsoka.Bluetooth.service. |
| obexd | The BlueZ OBEX daemon. Runs as Ahsoka.Obex.service, started and stopped alongside bluetoothd. |
| D-Bus | The Linux IPC mechanism the extension uses to talk to BlueZ, obexd, and oFono. |
| oFono | The Linux telephony daemon backing HFP. |
| MPRIS | Media Player Remote Interfacing Specification — a Linux D-Bus media-player interface. The extension registers an MPRIS player with BlueZ so the display can act as AVRCP Target. An implementation mechanism, not a feature. |
| uinput / evdev | Linux input subsystem. Headset AVRCP button presses arrive as key events on a /dev/input/event* node named <device> (AVRCP), not over D-Bus. See Troubleshooting. |
| PulseAudio | The platform's audio server. Started by the Audio extension (Ahsoka.Extensions.AudioManager / Ahsoka.Audio.service), which owns mixing, output selection and platform volume. This extension manages Bluetooth transports, and MediaRelay carries a connected phone's audio to its headset or the cabin. The audio profiles depend on the audio server, so an application using them needs the Audio extension. |
| StackBluez | Configuration value selecting the real BlueZ implementation. |
| StackDesktop | Configuration value selecting the desktop stubs, so demos and applications run on Windows with no hardware. |
| Adapter index | The configuration-level identifier for an adapter, mapping to a deviceInterfacePath such as /org/bluez/hci0. The key on nearly every request and notification. |
| hci0 | The first Bluetooth host controller interface — the first physical adapter. |
| Profile service | A per-adapter plugin implementing one profile, instantiated from SupportedProfileServiceTypes when its adapter is enabled. |
| AppHelper | Namespace of optional, passive convenience classes — DeviceManager and MediaRelay. They never subscribe to notifications; your application feeds them. |