#bluetooth #ble #bluetooth-le #cross-platform #wireless #connectivity #bindings

sys simplersble

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects

8 releases

0.7.3 Mar 23, 2024
0.7.2 Feb 17, 2024
0.6.1 Mar 14, 2023
0.6.0 Feb 23, 2023
0.6.0-alpha3 Dec 29, 2022

#201 in Hardware support

34 downloads per month

GPL-3.0-only

370KB
7.5K SLoC

C++ 6K SLoC // 0.1% comments Objective-C++ 1K SLoC // 0.1% comments Rust 704 SLoC // 0.0% comments Python 147 SLoC // 0.1% comments

SimpleRsBLE

The ultimate fully-fledged cross-platform library and bindings for Bluetooth Low Energy (BLE).

Overview

The SimpleBLE project aims to provide fully cross-platform BLE libraries and bindings, designed for simplicity and ease of use with a licencing scheme chosen to be friendly towards commercial use. All specific operating system quirks are handled internally to provide a consistent behavior across all platforms. The libraries also provide first-class support for vendorization of all third-party dependencies, allowing for easy integration into existing projects.

If you want to use SimpleRsBLE and need help. Please do not hesitate to reach out!

  • Join our Discord server.
  • Contact me: kevin at dewald dot me

Supported platforms

  • Windows: Windows 10+
  • Linux: Ubuntu 20.04+
  • MacOS: 10.15+ (except 12.0, 12.1, and 12.2)
  • iOS: 15.0+

Usage

You can add SimpleRsBLE to your project by adding the following lines to your Cargo.toml:

[dependencies]
simplersble = "0.6.0"

Please review our code examples on GitHub for more information on how to use SimpleRsBLE.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Since February 15th 2024, SimpleBLE is now available under the GNU General Public License version 3 (GPLv3), with the option for a commercial license without the GPLv3 restrictions available for a fee. (More information on pricing and commercial terms of service will be available soon.)

To enquire about a commercial license, please contact us at contact at simpleble dot org.

Likewise, if you are using SimpleBLE in an open-source project and would like to request a free commercial license or if you have any other questions, please reach out at contact at simpleble dot org.

Dependencies

~0.5–2.1MB
~33K SLoC