Skip to main content

BLE Driver

jumpstarter-driver-ble provides communication functionality via ble with the DUT. The driver expects a ble service with a write and notify characteristic to send and receive data respectively.

Installation

:substitutions:
$ pip3 install --extra-index-url {{index_url}} jumpstarter-driver-ble

Configuration

Example configuration:

export:
  ble:
    type: "jumpstarter_driver_ble.driver.BleWriteNotifyStream"
    config:
      address: "00:11:22:33:44:55"
      service_uuid: "0000180a-0000-1000-8000-000000000000"
      write_char_uuid: "0000fe41-8e22-4541-9d4c-000000000000"
      notify_char_uuid: "0000fe42-8e22-4541-9d4c-000000000000"

Config parameters

Parameter Description Type Required Default
address BLE address to connect to str yes
service_uuid BLE service uuid to connect to str yes
write_char_uuid BLE write characteristic to send data to DUT str yes
notify_char_uuid BLE notify characteristic to receive data from DUT str yes

API Reference

.. autoclass:: jumpstarter_driver_ble.client.BleWriteNotifyStreamClient()
    :members:

CLI

The ble driver client comes with a CLI tool that can be used to interact with the target device.

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

  ble client

Options:
  --help  Show this message and exit.

Commands:
  info           Get target information
  start-console  Start BLE console

Release files for jumpstarter-driver-ble 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jumpstarter-driver-ble 0.9.0
File Size Uploaded
jumpstarter_driver_ble-0.9.0.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jumpstarter-driver-ble 0.9.0
File Interpreter ABI Platform
jumpstarter_driver_ble-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / jumpstarter_driver_ble-0.9.0.tar.gz

Download URL jumpstarter_driver_ble-0.9.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8254175cb90a24902a92b874959a2f86c5308a2e273af29417ef51729ebfbcb4
BLAKE2b-256 checksum
How to use checksums
19b21ea0d4c701f4e663a8adfa6e48933a8e215a4e71317648152e4671658d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / jumpstarter_driver_ble-0.9.0-py3-none-any.whl

Download URL jumpstarter_driver_ble-0.9.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f796574b0cfcca16ce5ee08f017c24f3b481cd42be099ea6b1a9dd54eae97e6
BLAKE2b-256 checksum
How to use checksums
6ae7c5c74bfdf70f9adc37f9a600a8f83e544f093257fec9dd178c90b415d520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page