Skip to content

Features Bluetooth

coe0718 edited this page May 23, 2026 · 3 revisions

Bluetooth

Discover and control Bluetooth devices.

List Devices

deskbrid bluetooth list

Response:

{
  "type": "response",
  "status": "ok",
  "data": [
    {
      "name": "My Headphones",
      "mac": "00:11:22:33:44:55",
      "connected": true,
      "paired": true
    }
  ]
}

Protocol:

{"action": "bluetooth.list"}

Connect/Disconnect

deskbrid bluetooth connect 00:11:22:33:44:55
deskbrid bluetooth disconnect 00:11:22:33:44:55

Protocol:

{"action": "bluetooth.connect", "mac": "00:11:22:33:44:55"}

Pair Device

deskbrid bluetooth pair 00:11:22:33:44:55

Protocol:

{"action": "bluetooth.pair", "mac": "00:11:22:33:44:55"}

Python Example

from deskbrid import Deskbrid

client = Deskbrid()

devices = client.bluetooth_list()
for device in devices:
    print(f"{device['name']}: {'connected' if device['connected'] else 'disconnected'}")

Clone this wiki locally