BLE Device Control
Reach a paired device over Bluetooth LE instead of a USB cable — for pairing checks, status queries and device control when the glasses are not tethered.
BLE control is experimental. It works on macOS with no setup. On Linux it needs a one-time Bluetooth configuration step, which depends on the BlueZ version — see Linux setup.
Everything else in the Client SDK works without it — only the --ble flags are affected.
Platform support
| Platform | BLE control | Notes |
|---|---|---|
| macOS (Apple Silicon) | ✅ Supported | |
| Ubuntu 26.04 LTS | ⚠️ Experimental | BlueZ 5.85: set Experimental = true |
| Ubuntu 22.04 / 24.04 LTS | ⚠️ Experimental | BlueZ 5.64 / 5.72: pair once with ControllerMode = le |
| Fedora | ⚠️ Limited testing | Recent releases ship BlueZ 5.80+: set Experimental = true |
| Windows | 🚧 Planned | The SDK itself is not yet supported on Windows |
What BLE can and cannot do
BLE is a control channel, not a data channel.
| Over BLE | |
|---|---|
Pairing checks, device status, device control | ✅ |
device list presence reporting | ✅ (with --ble-scan) |
| Recording | ❌ Not available |
| Streaming | ❌ Not available |
Use BLE for control; use USB or Wi-Fi for data.
Setup
BLE credentials are installed over an existing authenticated connection — you cannot bootstrap a device over BLE alone.
# 1. Pair normally over USB first, if you have not already
aria_gen2 auth pair
# 2. Install BLE credentials over that authenticated connection
aria_gen2 auth pair --ble
From then on, add --ble to reach the device without a cable:
# With exactly one BLE-paired device, no serial is needed
aria_gen2 --ble device status
# With several, name the one you want
aria_gen2 --ble --serial 1M0YDB5H7B0020 device status
Linux setup
The glasses are a dual-mode Bluetooth device. Unless BlueZ is told otherwise, it connects to them over classic Bluetooth, which carries no BLE control traffic. How you prevent that depends on the BlueZ version:
bluetoothd --version
BlueZ 5.80 or newer (Ubuntu 26.04, recent Fedora)
Enable BlueZ's experimental features, which lets the SDK request an LE connection directly. Add this under [General] in /etc/bluetooth/main.conf:
[General]
Experimental = true
Then restart Bluetooth:
sudo systemctl restart bluetooth
BlueZ older than 5.80 (Ubuntu 22.04, 24.04)
These releases cannot request an LE connection directly. Instead, BlueZ connects over whichever transport the glasses are bonded on — so bond them over LE only, by pairing once with classic Bluetooth turned off. Classic Bluetooth comes back on afterwards; your headsets and other classic devices are unavailable only during the pairing steps.
-
Over USB, install the BLE credentials as in Setup:
aria_gen2 auth pairaria_gen2 auth pair --ble -
Remove any existing Bluetooth pairing with the glasses on this PC, so the new bond starts clean:
bluetoothctl devices | grep "Aria Gen 2"bluetoothctl remove <address>Classic Bluetooth keyboards and mice stop working during steps 3–5Keep a USB or built-in keyboard and touchpad available. Bluetooth LE keyboards and mice keep working throughout.
-
Turn classic Bluetooth off and limit GATT to a single channel — add these to
/etc/bluetooth/main.conf(create the[GATT]section if it does not exist) and restart:[General]ControllerMode = le[GATT]Channels = 1sudo systemctl restart bluetooth -
Unplug the USB cable and connect once over BLE. This first connection creates the LE-only bond:
aria_gen2 --ble device status -
Remove the
ControllerMode = leline from/etc/bluetooth/main.conf, keepChannels = 1, then turn classic Bluetooth back on with Bluetooth stopped:sudo systemctl stop bluetoothsudo btmgmt bredr onsudo systemctl start bluetoothUse these three commands rather than a plain restart. After step 3, a restart on BlueZ 5.64 brings classic Bluetooth back without Secure Simple Pairing, and the extra restart needed to fix that can delete the glasses' bond. BLE control keeps working with classic Bluetooth back on.
Channels = 1must stay set: with more channels, BlueZ 5.64 can trigger a re-pairing that makes the glasses drop the bond.
Repeat these steps if the bond is ever removed — for example after bluetoothctl remove, or after resetting the glasses — since a bond created with classic Bluetooth on cannot be used for BLE control on these releases.
You can also keep ControllerMode = le set permanently. BLE control then works without the pairing steps, but no classic Bluetooth device — most headphones, speakers and keyboards — works on this PC while it is set.
When you need --serial
--ble picks the device from the BLE credentials stored on this host — those pairings are the whole candidate set, since BLE reaches nothing you have not paired with.
| Devices paired over BLE on this host | --serial |
|---|---|
| Exactly one | Not needed — it is selected automatically |
| Two or more | Required: Multiple BLE-paired devices are stored. Use --serial to pick one: followed by the list |
| None | Nothing to select; the command fails |
With no BLE credentials stored at all, the CLI reports:
[AriaGen2Cli:App][ERROR]: BLE connect requires --serial
It reads as though --serial is mandatory, but adding one will not help — there is simply nothing paired to connect to. Run aria_gen2 auth pair --ble over USB first.
Before 2.6.0, aria_gen2 --help added to the confusion by saying --ble "Requires --serial". It does not, when exactly one device is paired, and the help now says so.
Automatic fallback to BLE
You do not have to pass --ble to end up on BLE. When a command cannot find the device over USB or Wi-Fi, the CLI falls back to stored BLE pairings on its own:
- Exactly one BLE-paired device — it is used automatically:
No device found over USB or Wi-Fi; falling back to the only BLE-paired device <serial> - A serial was given and that device is BLE-paired — BLE is tried for it:
Device <serial> was not found over USB or Wi-Fi; it is BLE-paired, so trying BLE - Several BLE-paired devices and no serial — you are asked to choose:
No device found over USB or Wi-Fi, and multiple BLE-paired devices are stored (not checked, may be offline). Use --serial to pick one:
The host does not know whether a paired device is actually powered on and in range — stored pairings are not presence-checked. If the device is offline, the attempt runs until it times out. A command that normally returns instantly over USB can therefore hang for 35 s or longer when the device is unplugged and out of range.
If you did not intend to use BLE, that delay usually means USB was not detected at all — check the cable and run aria_doctor.
Discovery
device list normally reports BLE-paired devices from this host's stored pairings, without checking whether any of them are actually in range. --ble-scan adds that check:
aria_gen2 --ble-scan device list
# Give the scan longer than the default 12 seconds
aria_gen2 --ble-scan --ble-scan-timeout 20 device list
Scanning is off by default because it costs several seconds.
BLE discovery latency is irregular — a device that is present has been measured taking anywhere from 0.3 s to 11.6 s to appear. A window shorter than the 12 s default will report present devices as missing.
Managing credentials
# Revoke this PC's BLE credential on one device, then remove it locally
aria_gen2 --serial 1M0YDB5H7B0020 auth unpair --ble
# Remove the local BLE credentials only, without contacting the device
aria_gen2 --serial 1M0YDB5H7B0020 auth unpair --ble --local-only
# Remove all stored BLE credentials, for every paired device (local only)
aria_gen2 auth remove-ble-creds
auth unpair --ble connects to the glasses over BLE to revoke this PC's credential, so they stop accepting it. The local credentials are removed even when the glasses cannot be reached; the CLI then warns that the glasses may still trust this PC, and you can revoke it in the Companion App. Glasses running firmware that predates self-revocation refuse the request with the same warning. Use --local-only for glasses that are gone or reflashed, to skip the BLE connection attempt.
remove-ble-creds is host-local and needs no connected device. Neither command touches the SSL authentication — the device stays paired for USB and Wi-Fi.
Troubleshooting
On Linux: cannot connect over BLE on Linux: forcing the LE bearer needs .... BlueZ tried to reach the glasses over classic Bluetooth. Follow Linux setup for your BlueZ version. On BlueZ older than 5.80, this also means the glasses are bonded with classic Bluetooth on — remove the pairing and repeat the one-time steps.
On Linux: the device is found but every connection fails, or the CLI suggests a stale bond. Check that your BlueZ version has been set up as in Linux setup, and that the glasses are close to the PC and awake. A weak signal (around −100 dBm or weaker in bluetoothctl) is enough to make connections fail.
A device you know is nearby is missing from device list --ble-scan. Most likely the scan window was too short; retry with --ble-scan-timeout 20. Without --ble-scan the listing does not check presence at all, so a device appearing there means only that this host has stored credentials for it.
BLE connect requires --serial. Despite the wording, this means no device is paired over BLE on this host — adding a serial will not fix it. Connect over USB and run aria_gen2 auth pair --ble.
Multiple BLE-paired devices are stored. Use --serial to pick one:. More than one device has credentials here, so the CLI will not guess. Pick one from the list it prints.
No BLE credentials for <serial>; run 'auth pair --ble' first. That specific device has no credentials on this host, or they were removed by auth unpair --ble / auth remove-ble-creds. Reconnect over USB and pair again.
A command hangs for ~35 seconds, then fails. A BLE attempt against a device that is powered off or out of range. Stored pairings are not presence-checked, so the CLI cannot tell in advance. See Automatic fallback to BLE.
Recording or streaming fails over BLE. Not supported — reconnect over USB or Wi-Fi for anything that moves sensor data.
See also
- Device Authentication — the USB pairing flow BLE builds on
- CLI Quick Reference — all global flags
- Supported Platforms — the SDK's overall platform matrix