bluetooth-serial-port-async

Crates.iobluetooth-serial-port-async
lib.rsbluetooth-serial-port-async
version0.6.3
sourcesrc
created_at2020-10-10 16:25:39.363517
updated_at2020-12-28 20:45:20.872854
descriptionInteract with Bluetooth devices via RFCOMM channels
homepage
repositoryhttps://github.com/JojiiOfficial/bluetooth-serial-port-async
max_upload_size
id298073
size66,131
Jojii (JojiiOfficial)

documentation

README

Rust library for interacting with the Bluetooth stack via RFCOMM channels.

This library only works on Linux/BlueZ. You can find it on

You can use async_std to read and write async

crates.io.

Cargo.toml:

[dependencies]
bluetooth-serial-port-async = "0.5.1"

Important functions:

bluetooth_serial_port::scan_devices()
BtSocket::new()
BtSocket::connect()
BtSocket::connect_async()
BtSocket::get_stream() // Use for read/write. Only call it once.

Click here for a full example.

API Reference

API reference documentation is on docs.rs

Commit count: 8

cargo fmt