btleplug
ndk
Our great sponsors
btleplug | ndk | |
---|---|---|
9 | 5 | |
688 | 1,040 | |
3.2% | 1.8% | |
7.5 | 8.1 | |
about 1 month ago | 10 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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
-
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).
ndk
-
Bare Metal Rust in Android
You can already. The ndk allows any language to be compiled to android. For rust see
https://github.com/rust-mobile/ndk
Which has the tools to do this.
-
Using Rust instead of C++ for Android NDK development
I found an official introduction to the topic: https://source.android.com/docs/setup/build/rust/building-rust-modules/overview I found these bindings and even tried to make the examples work without luck: https://github.com/rust-mobile/ndk There even exists an interface with the C++ library I am using: https://docs.rs/oboe/latest/oboe/
-
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.
-
Rust for mobile development?
There's cargo-apk which is godsent extension making the process of building an apk as easy as cargo apk build. Although I wasn't able to make it fully work on my native machine, so I used miniquad's docker image, installed cargo-apk, and then built.
- Is there any other language that has something crucial that Rust hasn't? Minus libraries.
What are some alternatives?
buttplug-rs - Rust Implementation of the Buttplug Sex Toy Control Protocol
stretch - High performance flexbox implementation written in rust
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
Weylus - Use your tablet as graphic tablet/touch screen on your computer.
cxx - Safe interop between Rust and C++
cargo-mobile - Rust on mobile made easy!
web-libusb
apollo-framework - The Apollo framework is a toolkit for building stable and robust server software.
deldo - Deldo is a sex toy control and teledildonics mode for Emacs
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
tpscube - An application for tracking cube solves
macroquad - Cross-platform game engine in Rust.