Table of Contents

Bluetooth Extension

Ahsoka.Extensions.Bluetooth adds Bluetooth to applications running on Enovation Controls OpenView displays. It covers both Bluetooth radios a display has: Bluetooth Classic (BR/EDR) for phones and headsets, and Bluetooth Low Energy (BLE) for exposing the display as a GATT peripheral.

Like other OpenPV extensions, it follows the Ahsoka service pattern — functionality is exposed as independent client/service pairs your application talks to, rather than as a library you link directly against hardware.

Table of Contents

Services

Where the Display Sits

Sink and Source

What Is Supported

Where to Go Next

Services

The extension registers two independent Ahsoka services:

Service Port Client Responsibility
BluetoothService 5104 BluetoothServiceClient Bluetooth Classic adapter control, discovery, pairing, and profile services
BLEService 6108 BLEServiceClient Bluetooth Low Energy peripheral mode — GATT server and advertisements

Both are registered with AutoStart behavior in the extension's .extensioninfo.json, so they start alongside your application. You do not start them yourself; you only construct the clients you want to talk to.

The two services are genuinely independent. A telemetry application that only exposes a GATT service never touches BluetoothServiceClient, and an infotainment application that only handles phones and headsets never touches BLEServiceClient.

Where the Display Sits

For Bluetooth Classic, the display is in the middle. A phone connects to it and hands over audio and media control; a headset connects to it and receives audio. Both devices bond to the display — never to each other.

flowchart LR
    phone["📱 Phone<br/>(A2DP Source,<br/>AVRCP Target)"]
    headset["🎧 Headset<br/>(A2DP Sink,<br/>AVRCP Controller)"]

    subgraph display ["OpenView Display"]
        direction TB
        app["Your Application"]
        bt["BluetoothService :5104"]
        ble["BLEService :6108"]
        sink["AudioSink profile<br/>A2DP Sink + AVRCP Controller"]
        source["AudioSource profile<br/>A2DP Source + AVRCP Target"]

        app --- bt
        app --- ble
        bt --- sink
        bt --- source
    end

    central["📲 BLE Central<br/>(phone app, tool)"]

    phone <--> sink
    source <--> headset
    central <--> ble

Note how the roles invert across the display: the phone is an A2DP Source, so the display must be an A2DP Sink to receive from it. The headset is an A2DP Sink, so the display must be an A2DP Source to feed it.

Sink and Source

This trips up nearly everyone on first contact, so it is worth stating plainly:

Profile service Faces Display's role Think of it as
AudioSink the phone receives audio, controls the phone's playback "the phone side"
AudioSource the headset sends audio, answers the headset's buttons "the headset side"

The names describe the display's role in the audio stream, not the remote device's. Sink means audio flows in; Source means audio flows out. If you find yourself reaching for AudioSourceServiceClient to control a phone, you want AudioSinkServiceClient instead.

Bridging the two — so a phone's music and metadata reach a headset, and the headset's buttons reach the phone — is what MediaRelay does.

What Is Supported

Two independent things determine whether a feature is available to you: the platform and the validation state.

Platform. Bluetooth Classic is OpenView Pro only:

Radio OpenView Pro OpenView Select
Bluetooth Classic (BR/EDR) Supported Not supported
Bluetooth Low Energy Supported Supported

If you are targeting Select, BLE is what you have, and everything on the Classic side of this documentation does not apply.

Validation. The extension implements more profiles than it has validated on hardware:

  • Validated on hardware: A2DP AudioSink with AVRCP Controller, A2DP AudioSource with AVRCP Target, MAP (message access), and BLE peripheral mode.
  • API present but not hardware-validated: HFP, PBAP (phonebook), and SPP. The code ships and the clients are public, but treat them as unproven.
  • Not supported: Apple iAP.

Read Supported & Not Supported before you build against anything. It is the authoritative list, and it explains the reasoning per profile and per platform.

The production platform is Linux with the BlueZ stack over D-Bus, version 5.84 on both displays. A desktop stub stack lets you run the demos and your own application on Windows with no Bluetooth hardware attached — see Getting Started.

This extension manages Bluetooth transports and hands you control and metadata, and MediaRelay carries a connected phone's audio to its headset or the cabin. Everything else about audio — mixing, output selection, platform volume — is owned by the companion Audio extension rather than this one. The Audio extension also starts the platform's audio server, so an application using the audio profiles needs Ahsoka.Extensions.AudioManager alongside this one — see Getting Started.

Where to Go Next

If you want to Read
Run something within ten minutes Getting Started
Understand clients, notifications, and adapters Core Concepts
Configure adapters and profiles Configuration Reference
Receive audio from a phone and control playback Audio Sink
Stream audio out to a headset Audio Source
Bridge a phone and a headset MediaRelay
Read and send SMS Message Access
Expose a GATT service over BLE Defining GATT Services
Do the same from C++ C++ Integration Guide
Work out why something is not happening Troubleshooting
Decode an acronym Glossary
Note

These documents ship inside the Ahsoka.Extensions.Bluetooth package, so what you are reading always matches the package version installed in your project. Release history is on NuGet.