dbus-sample icon indicating copy to clipboard operation
dbus-sample copied to clipboard

GNU/Linux BLE via BlueZ

Open chelalv opened this issue 7 years ago • 3 comments

hi this link is broken, can you fix it? thanks in advence.

chelalv avatar Nov 05 '18 02:11 chelalv

@zfields I appreciate your concise code example of a minimal connection to dbus. I was really hoping that your link would give me an understanding of the minimal required to receive Bluetooth advertising messages over dbus.

The current link in the Readme goes to a domain that appears unrelated.

It would be really nice if you have example code and could correct the link, but if there's not example code removing the link would also be more useful than the bad reference.

wcbonner avatar Dec 06 '23 21:12 wcbonner

Thanks for bringing this to my attention. I'll either fix or remove the link.

To be honest, I was working through this problem on my own and my attention was taken away.

zfields avatar Dec 07 '23 21:12 zfields

Thanks for bringing this to my attention. I'll either fix or remove the link.

To be honest, I was working through this problem on my own and my attention was taken away.

@zfields Thanks.

I've written a program that uses the older BlueZ API to continuously scan BLE for thermometer readings. It works but completely takes over the Bluetooth device.

On my raspberry pi I don't care, but other people have been trying to run on platforms using Bluetooth keyboard and mouse and I'm hoping that if I could move to the dbus interface it wouldn't be exclusive. It's a personal project so there's always the trade off of effort and time vs reward.

If you've gotten enough communication that does the equivalent of bluetoothctl followed by scan on and receiving something followed by scan off and exiting I know I'd have so much more than I've currently got, and likely the community would as well. Most of what I've found related to blueZ has been complaints of how poorly documented it is with no easy tutorial to get started.

Wim

wcbonner avatar Dec 07 '23 22:12 wcbonner