i work bluez 5.30 , kernel 3.13.0-32 , need implement in app read/write characteristics functionality via dbus.
i'm using bluez test scripts established connection:
"test-discovery", , "test-device connect".
the problem don't see services displayed in dbus (org.bluez). using d-feet app can see:
"/org/bluez/hci0/dev_btaddr" interfaces org.bluez.device1 org.freedesktop/dbus.introspectable org.freedesktop.dbus.properties
and in "/var/log/syslog" can see many of:
" bluetoothd[715]: unable register gatt service handle 0x0045 device..."
using gatttool i'm able read/write characteristics, primaries etc. under hcidump see of characteristics read properly.
but, dbus pov device1 interface available.
here bluez configuration: " ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-library --disable-systemd --enable-experimental --enable-maintainer-mode --enable-debug "
i looking here: "http://i-miss-erin.blogspot.com/2010/12/gatt-related-dbus-api.html" mentioned, don't have interface or services displayed here.
for test use proximity , hid devices. in case of hid, after proper connection can see chars in terminal window (hid keyboard device) assume works correctly.
any suggestions?
you have activate experimental features bluetooth set in order gatt services enabled.
on debian system can achieve putting
noplugin_option="-e"
into /etc/default/bluetooth file.
after restart, in order device (logitech mx master) working on debian stretch, had pair , trust manually using bluetoothctl command. had no success graphical bluetooth tool gnome.
Comments
Post a Comment