/blurz

Blurz - Bluetooth lib for Rust using blueZ/dbus

Primary LanguageRustBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Bluetooth lib for Rust using blueZ/dbus

Current state: Experimental

Examples

This example show how to get the first available bluetooth device.

let adapter: BluetoothAdapter = BluetoothAdapter::init().unwrap();
let device: BluetoothDevice = adapter.get_first_device().unwrap();
println!("{:?}", device);