Skip to content

Rust library to interact with Bluetooth devices via RFCOMM channels

License

Notifications You must be signed in to change notification settings

opensourcegeek/bluetooth-serial-port

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bluetooth-serial-port

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

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

Cargo.toml:

[dependencies]
bluetooth-serial-port = "0.4"

Important functions:

bluetooth_serial_port::scan_devices()
BtSocket::new()
BtSocket::connect()
BtSocket::read()
BtSocket::write()

impl mio::Evented for BtSocket { ... } // for async IO with mio

Click here for full example.

About

Rust library to interact with Bluetooth devices via RFCOMM channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%