https://github.com/pingw33n/rust_core_bluetooth
Safe Rust API to CoreBluetooth
https://github.com/pingw33n/rust_core_bluetooth
corebluetooth ios macos rust
Last synced: 3 months ago
JSON representation
Safe Rust API to CoreBluetooth
- Host: GitHub
- URL: https://github.com/pingw33n/rust_core_bluetooth
- Owner: pingw33n
- License: apache-2.0
- Created: 2020-05-06T09:18:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-12T13:14:31.000Z (about 6 years ago)
- Last Synced: 2025-12-14T00:26:35.651Z (6 months ago)
- Topics: corebluetooth, ios, macos, rust
- Language: Rust
- Size: 47.9 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Core Bluetooth
Safe wrapper around [Core Bluetooth framework](https://developer.apple.com/documentation/corebluetooth)
used to communicate with Bluetooth-equipped low energy (LE) and Basic Rate / Enhanced Data Rate
(BR/EDR) wireless technology.
Currently only the central role is supported.
## Usage
See example in the [crate docs](https://docs.rs/core_bluetooth/#example) and also the `examples` directory.
## Crate Features
By default MPSC rendezvous channel from `std` is used to perform native framework calls. With `async_std_unstable`
feature chis channel can be replaced with `async_std::sync::channel` making it possible to pump events in async context.
Note the `async_std` will need `unstable` feature enabled.