btleplug
tpscube
btleplug | tpscube | |
---|---|---|
10 | 1 | |
779 | 26 | |
4.5% | - | |
5.6 | 0.0 | |
27 days ago | almost 2 years ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
btleplug
-
Butts Are Difficult
You're absolutely correct! I mention this elsewhere in the documentation even. Buttplug really is just a userland HID manager at its core. The only specialized part is the context of commands we send to devices.
The original plan (and it may still happen, who knows) was to figure out a way to chop off that top message layer and create a generalized system for doing exactly what you've said. That was going to be called 'deviceplug', and it's why btleplug is under the 'deviceplug' org on github (https://github.com/deviceplug/btleplug). I've just never gotten around to it because I'm not quite ready for the additional support burden yet.
All that said, Buttplug is also a haptics experimentation project aimed at finding out what it's like to create a way to communicate about a very specific type of touch via technology and programming. There are specific goals within the project related to that, but the amount of tech required to actually pull that off means I end up with what basically amounts of a fleet management framework. :)
-
Just an innocent mistake
In case someone is curious: https://github.com/deviceplug/btleplug/pull/279/files
-
Is the Rust ecosystem capable of making a cross-platform mobile game with p2p Bluetooth yet?
Is something wrong with https://github.com/deviceplug/btleplug or you haven't found it? You could also use bindings to platform libraries like https://github.com/microsoft/windows-rs and https://github.com/rust-mobile/ndk if btleplug doesn't have something fundamental to you.
- Show HN: Hacking Bluetooth to Brew Coffee in GitHub Actions
-
Deldo is a sex toy control and teledildonics mode for Emacs
One of the worst/best parts of buttplug is that I ended up needed to maintain my own Bluetooth LE library: btleplug (https://github.com/deviceplug/btleplug).
Worst because working with bluetooth is always THE WORST, best because of the submissions and community that've grown around it.
There's 2 types of PRs to btleplug:
- People going "here's a PR but uh, why is the library named btleplWAIT WHAT"
- People going "here is a PR specifically to fix something in Buttplug thank you"
- btleplug (cross-platform bluetooth LE rust library) v0.8 released, now with async!
-
BLEZ - Asynchronous interface to official Bluetooth Low Energy APIs on Linux (BlueZ)
"In its dev branch"
-
Android's new Bluetooth stack rewrite (Gabeldorsh) is written with Rust
I've always been annoyed at the cross-platform story for Bluetooth. GATT is one of my favorite protocols because it is so simple, but writing simple code against this simple protocol is _not_ portable:
iOS and macOS have CoreBluetooth, Linux has BlueZ, Windows has Windows.Devices.Bluetooth and Android has android.bluetooth.
I've seen a few projects trying to fix this, like https://github.com/deviceplug/btleplug, and I hope one of them becomes production ready.
-
Buttplug-rs Hits V1 Milestone
But, that's an ongoing problem. In terms of "done", I think the next big milestone will be mobile app support. We work on mobile web browsers in a couple of different ways, but Buttplug still needs app support, both native and for things like cordova/react native/etc... The biggest issue there at the moment lies in our bluetooth library (btleplug, https://github.com/deviceplug/btleplug), because getting the FFI via JNI to android is going to suck (even though I can crib off Servo's WebBluetooth impl, which worked on Android).
tpscube
What are some alternatives?
buttplug-rs - Rust Implementation of the Buttplug Sex Toy Control Protocol
Hyperspeedcube - Modern, beginner-friendly 3D and 4D Rubik's cube simulator
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
rubiks-cube - Rubik's cube made with bevy engine.
web-libusb
RustPython - A Python Interpreter written in Rust
cxx - Safe interop between Rust and C++
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
deldo - Deldo is a sex toy control and teledildonics mode for Emacs
cubing.js - 🛠A library for displaying and working with twisty puzzles. Also currently home to the code for Twizzle.
BluetoothLEBatteryMonitor - [Deprecated]Windows BluetoothLE Battery Monitor
CubeSimRS - Rust based Rubik's Cube simulation and solving library.