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.
l2cat: netcat-like for Bluetooth LE L2CAP sockets.
Each tool supports the --help
option for detailed usage information.
A running Bluetooth daemon (BlueZ) is required.
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.