blez-tools

Crates.ioblez-tools
lib.rsblez-tools
version0.9.7
sourcesrc
created_at2021-06-14 20:23:06.222563
updated_at2021-07-06 10:55:35.103856
descriptionRenamed to bluer-tools
homepage
repositoryhttps://github.com/surban/blez
max_upload_size
id410089
size108,055
Sebastian Urban (surban)

documentation

README

BLEZ tools -- swiss army knife for GATT services and L2CAP sockets on Linux

crates.io page BSD-2-Clause license

Renamed to BlueR

blez-tools has been renamed to bluer-tools.

Development will continue in the BlueZ organization repository.

Please update your links and crate references.


This crate provides tools for Bluetooth Low Energy (BLE) on Linux, building on the functionality of the BLEZ library.

The following command line tools are included.

  • blemon: Scans for and monitors Bluetooth LE devices similar to top.

  • gattcat: Swiss army knife for Bluetooth LE GATT services.

    • discovers Bluetooth LE devices and their services
    • pairing
    • resolves all well-known UUIDs and manufacturer ids
    • performs all possible operations on GATT services
    • connects (via notify and write) to a remote GATT service
    • serves (via notify and write) a local program over a GATT service
    • implements the Nordic UART service (NUS) as client and server
  • l2cat: netcat-like for Bluetooth LE L2CAP sockets.

    • connects to remote L2CAP PSMs
    • listens on local L2CAP PSMs and accepts connections
    • serves a local program on an L2CAP PSM

Each tool supports the --help option for detailed usage information. A running Bluetooth daemon (BlueZ) is required.

Installation

First, install D-Bus and Bluetooth libraries on your system. On Debian this can be achieved by running

sudo apt install libdbus-1-dev libbluetooth-dev

Then, run the following command to install BLEZ tools

cargo install blez-tools

If you do not have Cargo on your system, you can use rustup for installing it.

Commit count: 318

cargo fmt