surban / blez Goto Github PK
View Code? Open in Web Editor NEWAsynchronous interface to official Bluetooth Low Energy APIs on Linux (BlueZ)
Home Page: https://crates.io/crates/blez
License: Other
Asynchronous interface to official Bluetooth Low Energy APIs on Linux (BlueZ)
Home Page: https://crates.io/crates/blez
License: Other
Hi,
I'd like to know how to listen to BLE Advertisement.
I'm trying to do something similar to this: https://github.com/Thrilleratplay/GoveeWatcher/blob/master/python/goveeWatcher.py
Thank you!
On my machine the build of current blez master branch 0.9.4 fails.
I'm using latest rust stable (1.52.1).
It gives me the following error message:
error: failed to run custom build command for `blez v0.9.4 (/home/sojus/src/meshnet/examples/blez/blez)`
Caused by:
process didn't exit successfully: `/home/sojus/src/meshnet/examples/blez/target/debug/build/blez-32ba4e3e0de9fdbb/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=bluetooth-numbers-database/v1/service_uuids.json
--- stderr
thread 'main' panicked at 'services: Os { code: 2, kind: NotFound, message: "No such file or directory" }', blez/build.rs:213:6
stack backtrace:
0: rust_begin_unwind
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
2: core::option::expect_none_failed
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
3: core::result::Result<T,E>::expect
at /home/sojus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:997:23
4: build_script_build::main
at ./build.rs:206:5
5: core::ops::function::FnOnce::call_once
at /home/sojus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.