galaxy_buds_rs

Crates.iogalaxy_buds_rs
lib.rsgalaxy_buds_rs
version0.2.10
sourcesrc
created_at2020-12-28 15:07:21.624967
updated_at2021-08-06 11:24:03.806248
descriptionThe Galaxy Buds rfcomm protocol reverse engineered
homepage
repositoryhttps://github.com/JojiiOfficial/GalaxyBuds-rs
max_upload_size
id328293
size101,531
Jojii (JojiiOfficial)

documentation

README

GalaxyBuds-rs

crates PRs

A reverse engineered rust wrapper for the GalaxyBuds bluetooth protocol. Can be used to communicate with your earbuds using rust. You can find a cli tool controlling your Earbuds on linux here

To use:

Add this to your Cargo.toml

galaxy_buds_rs = "0.2.1"

Or if you have cargo edit:

cargo add galaxy_buds_rs

Features

Receiving

  • Status update
  • Extended status update
  • Get all debug data
  • Touch updated
  • Voice wakeup listening update
  • Touchpad tap action
  • Version info

Sending

  • Un/Lock touchpad
  • Set noisereduction
  • Set Equalizer
  • Adjust sound sync
  • Mute earbud
  • Find my earbuds
  • Prepare voice notification (notifications TTS)
  • Set touchpad option
  • Update time

Examples

Receive

Set the address value in examples/receive.rs to your Buds' mac address and run following:

cargo --example receive

Send

Set the address value in examples/send.rs to your Buds' mac address and run following:

cargo --example send
Commit count: 91

cargo fmt