Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot make it work on RPI4 Debian Buster #11

Open
TD-3294 opened this issue Oct 10, 2019 · 2 comments
Open

Cannot make it work on RPI4 Debian Buster #11

TD-3294 opened this issue Oct 10, 2019 · 2 comments

Comments

@TD-3294
Copy link

TD-3294 commented Oct 10, 2019

Hi,

First of all, thanks for this library. Nice work.
I cannot get it to work on Debian Buster. Tried running bluetoothd 5.50 with --experimental and without --experimental.

I get the logs:

[Sender] INFO org.freedesktop.dbus.MessageWriter - <= MethodCall(0,2545) { Path=>/, Interface=>org.freedesktop.DBus.ObjectManager, Member=>GetManagedObjects, Destination=>org.bluez } { }
[Sender] INFO org.freedesktop.dbus.MessageWriter - <= MethodCall(0,2546) { Path=>/org/bluez/hci0, Interface=>org.freedesktop.DBus.Properties, Member=>Get, Destination=>org.bluez, Signature=>ss } { org.bluez.Adapter1, Name }
[Sender] INFO org.freedesktop.dbus.MessageWriter - <= MethodCall(0,2547) { Path=>/org/bluez/hci0, Interface=>org.freedesktop.DBus.Properties, Member=>Get, Destination=>org.bluez, Signature=>ss } { org.bluez.Adapter1, Alias }
[Sender] INFO org.freedesktop.dbus.MessageWriter - <= MethodCall(0,2548) { Path=>/, Interface=>org.freedesktop.DBus.ObjectManager, Member=>GetManagedObjects, Destination=>org.bluez } { }

But no device is detected. I am new to bluetoothd/bluez, so not sure if I am doing the right thing. I am using org.sputnikdev.bluetooth.manager.BluetoothManager library. It sort of works with tinyb (I can see the devices, but not get their characteristics).

I have added a discoveryListener and loaded your Class as BluetoothManager, but no devices are discovered.

Any help would be appreciated. Do you have any sample code, for instance?

Thanks,

Juan

@xrucka
Copy link
Owner

xrucka commented Oct 13, 2019

Hello, I have near-to-none time to support the project in near future, so I apologize for late responses. As for your problem, I'd start with following:

  1. try bluetoothctl, list, select adapter, power on, scan on - to see if your adapter works all right. If you connect to any of the devices, you should get also characteristics printouts.
  2. try d-feet (a dbus probe gui), that should allow you to walk through the dbus-exported interfaces. You should also see the adapter and allready discovered devices.

This is only a theory, however it might be that your system for some reason does not fire notifications. I had experienced similar issues on RPI3, which is why I started working on this project.

@TD-3294
Copy link
Author

TD-3294 commented Oct 14, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants