https://github.com/skreborn/bluetooth-sys
Unsafe bindings to Linux's C bluetooth API
https://github.com/skreborn/bluetooth-sys
bluetooth hci rust-binding
Last synced: 3 months ago
JSON representation
Unsafe bindings to Linux's C bluetooth API
- Host: GitHub
- URL: https://github.com/skreborn/bluetooth-sys
- Owner: skreborn
- License: mit
- Created: 2020-03-28T18:52:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T12:33:26.000Z (about 2 years ago)
- Last Synced: 2025-10-29T07:41:23.947Z (5 months ago)
- Topics: bluetooth, hci, rust-binding
- Language: Rust
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bluetooth-sys
`bluetooth-sys` provides unsafe bindings to Linux's C bluetooth API.
## Requirements
This package generates bindings using [`rust-bindgen`](https://github.com/rust-lang/rust-bindgen) at
build time. It needs, as a result, the appropriate development libraries installed.
For Debian based systems, execute the following:
```sh
apt install bluetooth libbluetooth-dev libudev-dev
```
**See also `rust-bindgen`'s own
[requirements](https://github.com/rust-lang/rust-bindgen/blob/master/book/src/requirements.md).**
## Notes
This package currently does the **bare minimum**. It uses `rust-bindgen` to generate the bindings,
and not much else. An important shortcoming of `rust-bindgen` is its inability to parse and
reimplement inline functions and macros on its own.
These functions and macros are **not** currently implemented, but might be at any given point in the
future. If you need them for a project, please raise an issue - or better yet, submit a PR!