Niels Becker

Results 16 comments of Niels Becker

Thanks for the fast reply. This works and might be a nice feature on its own, but unfortunately this is not what I had in mind. My hole idea was...

So I have been using this for a while an one thing I often encounter is the Variant error (`expected a Variant for value ...`). E.g. a call requires an...

Your code looks good, what is your Bluez version? Does "Connected" get printed without error message? What version are you using 0.3.3 or current master (0.4.0 but not released yet)?

Does your device export a Serial Port Service? `bluetoothctl info ` it should list `UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb)` Make sure that there are no other applications running that create a...

It took me a while but I tested it on: - Bluez 5.50 Ubuntu 18.04 - Bluez 5.53 Ubuntu 20.04 - Bluez 5.48 Debian Stretch - Bluez 5.50 Debian Buster...

One more thing to check: - There could also be a permission error in either AppArmor or Polkit. Check the logs if something was blocked. - The connection might be...

This is probably due to either version incompatibility or insuffient permissions. You need Bluez Version 5. Check that you have permissions to access bluez via DBus, e.g. try as root.

The forwardPropertyChange should be removed when there are no more PropertyChange listeners. So maybe you are not removing them in your app? I don`t think this PR would change anything...

Yes disabling security works. However this is not an option for our use case and it is not what I was asking for.

So I investigated this and it seams that there is an issue in the dbus library when encoding numbers as variants. The library always encodes numbers with the smallest possible...