Possible to write to "hidden" BlueZ characteristic via D-Bus in Python or other?

81 Views Asked by At

I need to write data to a BlueZ characteristic through D-Bus that does not show up after Service Discovery on a Bluetooth LE device. Is it possible?

"What I've done so far" I have a Bluetooth device that is controlled by an Android app written in Java. I am trying to duplicate it's function in Linux. My initial attempt is using Python and dbus-python. The Java code sends a "key code" to a service UUID with characteristic UUID. Using D-feet, after service discovery, I can see the path representing the service UUID. However, there are two discovered characteristics and neither match the characteristic UUID that the java code is sending this key to.

Or in other words, I don't have a path for: proxy = bus.get_object('org.bluez', 'object path')

Before I give up on a Python/D-Bus approach, is it possible to write data to this assumed hidden characteristic via D-Bus? Is there a way to make my own path definition to this UUID? Does it require a different Python Binding? Different language?

0

There are 0 best solutions below