Commit Briefs

2609f0e180 witcher

use public-inbox as mailing list (master)


f012a7f7ef witcher

add nix flake support


dad3cdd881 witcher

Remove unnecessary comment


e8cdd4f967 Thomas Böhler

Fix ITERATIONS type


92752768a6 Thomas Böhler

Add README.md


bee6e3d4a3 Thomas Böhler

Write without Response and add dynamic calculation


9dbb8c3bea Thomas Böhler

Add support for ESP

The ESP doesn't currently advertise its services, so the MAC Address is checked instead.


a4a98bd84c Thomas Böhler

Rewrite to use bluer instead of btleplug


6bcd77273b Thomas Böhler

Change peripheral MAC Address


1bc75b6123 Thomas Böhler

Various minor and unimportant changes


Branches

Tags

Tree

.gitignorecommits | blame
Cargo.lockcommits | blame
Cargo.tomlcommits | blame
README.mdcommits | blame
flake.lockcommits | blame
flake.nixcommits | blame
rust-toolchain.tomlcommits | blame
src/

README.md

# ble-throughput-client

Test throughput of Bluetooth Low Energy (BLE). MTU size, DLE size, 2M PHY, etc.
have to be fine-tuned on the server as BlueZ doesn't expose an API for this.

## Compiling

Install the dependencies:

- Rust

## Usage

The bluetooth device used is given via the `BLUETOOTH_DEVICE` environment
variable.  
The server is found through it's published services or a static IP. There's no
command line switch for this (yet).

```sh
BLUETOOTH_DEVICE=hci0 cargo run
```

Running in `--release` mode is encouraged for more accurate results.

## Resources

Send patches and questions to
[~witcher/public-inbox@lists.sr.ht](https://lists.sr.ht/~witcher/public-inbox).

Instructions for preparing a patch are available at
[git-send-email.io](https://git-send-email.io/).