News for hackers. Stuff that matters.
Re:Show HN: Hacking Bluetooth to Brew Coffee in GitHub Actions by flaviut on Tuesday December 06, 2022 @12:05AM (#33876140)
I want to shout-out the btleplug library again.

I've tried to work with several different BTLE libraries in the past, and I've always had a ton of problems.

btleplug works flawlessly, has as good of an API as is possible given the intrinsic complexity, and is a pleasure to use.

Thank you btleplug team <3

Re:Show HN: Hacking Bluetooth to Brew Coffee in GitHub Actions by dbrgn on Tuesday December 06, 2022 @03:21AM (#33877107)
"btleplug is a pleasure to use". I see what you did there :)
Re:Show HN: Hacking Bluetooth to Brew Coffee in GitHub Actions by witcher01 on Tuesday December 06, 2022 @06:16AM (#33878124)
I'm currently writing Rust for my bachelor thesis using bluez_async[1].

btleplug[2] is great, but at least on Linux I prefer using bluez_async directly, which btleplug is just an interface for there[3], to avoid one more layer of dependencies.

bluez_async is quite similar to btleplug, and, from my experience, if you know one you can use the other just fine.

[1]: https://docs.rs/bluez-async/0.6.0/bluez_async/index.html

[2]: https://docs.rs/btleplug/0.10.4/btleplug/index.html

[3]: https://github.com/deviceplug/btleplug/blob/d6d8ba5486eba5d7...