Comments (3)
It is unclear why this is not working. The BlueZ documentation doesn't give any information about why 0x540
might be an invalid device class, and neither does the Bluetooth website.
from bluez-rs.
Yes, it seems weird. In the meantime I'm using the cli as a backup.
from bluez-rs.
I think it's notable that the 0x2000
part of 0x2540
sets the device in limited discovery mode. I thought maybe the problem was that setting 0x540
when the device is not already in limited discover would result in an invalid param error, so I set the device explicitly in limited discovery by first using set_discoverable
. This doesn't seem to remedy the situation, though.
from bluez-rs.
Related Issues (16)
- Panic on `set_local_name` HOT 1
- remove_device uses wrong command
- How to get simple name from device advertisment HOT 3
- Are GATT services and characteristics implemented? HOT 4
- How to connect to bluetooth devices without pairing HOT 2
- Question about sending commands HOT 1
- I cannot compile bluez HOT 4
- New release? HOT 1
- Why does discover need `sudo`? HOT 4
- Why sleep 50ms in the main loop? HOT 1
- Panic after device connect HOT 2
- IoCapability values are incorrect HOT 1
- Allow duplicate entries to be discovered HOT 3
- Could not find matching version of bitvec HOT 1
- Need examples of peripheral mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-rs.