BT Peer Driver

jumpstarter-driver-bt-peer provides a Bluetooth peer device powered by bumble. It can pair, connect, and stream A2DP audio to a DUT over BR/EDR. Transport-agnostic: works over TCP (rootcanal/netsim), USB dongle, serial UART, or any bumble transport string.

Installation

$ pip3 install --extra-index-url https://pkg.jumpstarter.dev/simple jumpstarter-driver-bt-peer

Configuration

export:
  bt_peer:
    type: jumpstarter_driver_bt_peer.driver.BtPeer
    config:
      transport: "tcp-client:127.0.0.1:7300"

Config parameters

Parameter

Description

Type

Required

Default

transport

Bumble transport string (e.g. tcp-client:host:port, usb:0, serial:/dev/ttyUSB0)

str

no

tcp-client:127.0.0.1:7300

API Reference

class jumpstarter_driver_bt_peer.client.BtPeerClient

Client for the Bluetooth peer driver.

CLI

jumpstarter ⚡ local ➤ j bt_peer
Usage: j bt_peer [OPTIONS] COMMAND [ARGS]...

  Bluetooth peer device (bumble).

Options:
  --help  Show this message and exit.

Commands:
  address           Show the peer's Bluetooth address.
  connect           Connect to a remote device.
  connections       Show active connections.
  events            Show events since timestamp.
  pair              Authenticate and encrypt a connection.
  start             Start the BT peer device.
  stop              Stop the BT peer device.
  wait-connection   Wait for an incoming connection.
  wait-disconnection Wait for a disconnection.