muka / go-bluetooth

Golang bluetooth client based on bluez DBus interfaces
Apache License 2.0
651 stars 124 forks source link

getting nil in device properties #4

Closed saurabh-newera closed 7 years ago

saurabh-newera commented 7 years ago

i am getting run time error while discovering sensors.....

2017/06/16 03:51:41 Loaded devices %d [{/org/bluez/hci0/dev_B0_B4_48_D2_30_85 0x106d9160 map[]}] 2017/06/16 03:51:41 device: {/org/bluez/hci0/dev_B0_B4_48_D2_30_85 0x106d9160 map[]} panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x180a04]

goroutine 3 [running]: main.filterDevice(0x10639f2c, 0x106e61b0) /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:166 +0x2c main.loadDevices(0x10670900) /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:156 +0x2d8 main.deviceIsCached(0x2b49d0) /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:140 +0x94 main.discoverDevices(0x1d8679, 0x4) /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:112 +0x14 main.waitAdapter() /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:103 +0x274 created by main.discoverDevice /home/Embs1PSL/github/DistributedEdgeIoT/src/securiot-ble/watch_changes.go:74 +0x54 exit status 2

muka commented 7 years ago

Can you provide some more details (version of bluez, type of BLE device connected) ?

Looking at filterDevice I can guess Properties is empty, is it correct? https://github.com/muka/go-bluetooth/blob/master/examples/watch_changes.go#L148

saurabh-newera commented 7 years ago

I am using raspberry pi with bluez version 5.23 and i am using TI Sensortags. yes i am getting empty property of device and this is the issue. I am executing the code given in the example...for getting device property device := profile.NewDevice1( fmt.Sprintf( "/org/bluez/%s/dev%s", adapterID, strings.Replace(deviceID, ":", "", -1), ), )

log.Info("Device info\n---")
log.Infof("Name: %s\n", device.Properties.Name)
log.Infof("Modalias: %s\n", device.Properties.Modalias)

output:-

2017/06/17 03:51:38 Name: 2017/06/17 03:51:38 Modalias: 2017/06/17 03:51:38 [{/org/bluez/hci0/dev_B0_B4_48_D2_30_85 0x106d9960 map[]}]

you can see i am getting empty name and other properties empty too. why?

Thank you.

muka commented 7 years ago

Bluez should be upgraded to v5.43, there are some instructions in the readme

mholt commented 7 years ago

Hi, this is pretty cool so far; but when I used your script to update bluez I still have nil Properties (Ubuntu 16.04). bluetoothd -v shows 5.43. Didn't see any errors. Did I miss something?

muka commented 7 years ago

Hi, can you provide more details, like which kind of device are you interfacing and code to use so I can try to reproduce

Thanks!

mholt commented 7 years ago

Hey @muka, thanks for responding! (Yours is the only lib I could find that even remotely worked for what I need.)

Here's what I did, log is below: I ran ./bluez-install.sh - it looks like it succeeded (but I may be wrong/missing something). Full output is below. Click to expand:

bash ./bluez-install.sh

``` $ bash ./bluez-install.sh Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [608 kB] Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [586 kB] Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [305 kB] Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [207 kB] Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [512 kB] Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [495 kB] Ign:10 http://dl.google.com/linux/chrome/deb stable InRelease Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [170 kB] Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [209 kB] Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,888 B] Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B] Get:15 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,136 B] Get:16 http://dl.google.com/linux/chrome/deb stable Release [1,189 B] Get:17 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] Get:18 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:19 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,372 B] Get:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [340 kB] Get:21 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [319 kB] Get:22 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [143 kB] Get:23 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [59.9 kB] Get:24 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [52.0 kB] Get:25 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [153 kB] Get:26 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [135 kB] Get:27 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [78.6 kB] Get:28 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [48.7 kB] Get:29 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [64.2 kB] Fetched 4,809 kB in 1s (3,026 kB/s) Reading package lists... Done (Reading database ... 209714 files and directories currently installed.) Preparing to unpack .../udev_229-4ubuntu19_amd64.deb ... Unpacking udev (229-4ubuntu19) over (229-4ubuntu16) ... Preparing to unpack .../libudev1_229-4ubuntu19_amd64.deb ... Unpacking libudev1:amd64 (229-4ubuntu19) over (229-4ubuntu16) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for systemd (229-4ubuntu19) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... Setting up libudev1:amd64 (229-4ubuntu19) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... Selecting previously unselected package libudev-dev:amd64. (Reading database ... 209714 files and directories currently installed.) Preparing to unpack .../libudev-dev_229-4ubuntu19_amd64.deb ... Unpacking libudev-dev:amd64 (229-4ubuntu19) ... Preparing to unpack .../wget_1.17.1-1ubuntu1.2_amd64.deb ... Unpacking wget (1.17.1-1ubuntu1.2) over (1.17.1-1ubuntu1.1) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../libdbus-1-dev_1.10.6-1ubuntu3.3_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.10.6-1ubuntu3.3) ... Selecting previously unselected package libdbus-glib-1-dev. Preparing to unpack .../libdbus-glib-1-dev_0.106-1_amd64.deb ... Unpacking libdbus-glib-1-dev (0.106-1) ... Selecting previously unselected package libical-dev:amd64. Preparing to unpack .../libical-dev_1.0.1-0ubuntu2_amd64.deb ... Unpacking libical-dev:amd64 (1.0.1-0ubuntu2) ... Selecting previously unselected package libtinfo-dev:amd64. Preparing to unpack .../libtinfo-dev_6.0+20160213-1ubuntu1_amd64.deb ... Unpacking libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ... Selecting previously unselected package libreadline6-dev:amd64. Preparing to unpack .../libreadline6-dev_6.3-8ubuntu2_amd64.deb ... Unpacking libreadline6-dev:amd64 (6.3-8ubuntu2) ... Selecting previously unselected package libreadline-dev:amd64. Preparing to unpack .../libreadline-dev_6.3-8ubuntu2_amd64.deb ... Unpacking libreadline-dev:amd64 (6.3-8ubuntu2) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for install-info (6.1.0.dfsg.1-5) ... Setting up udev (229-4ubuntu19) ... addgroup: The group `input' already exists as a system group. Exiting. update-initramfs: deferring update (trigger activated) initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused insserv: warning: script 'leapd' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `leapd' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `leapd' Setting up libudev-dev:amd64 (229-4ubuntu19) ... Setting up wget (1.17.1-1ubuntu1.2) ... Setting up libdbus-1-dev:amd64 (1.10.6-1ubuntu3.3) ... Setting up libdbus-glib-1-dev (0.106-1) ... Setting up libical-dev:amd64 (1.0.1-0ubuntu2) ... Setting up libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ... Setting up libreadline6-dev:amd64 (6.3-8ubuntu2) ... Setting up libreadline-dev:amd64 (6.3-8ubuntu2) ... Processing triggers for initramfs-tools (0.122ubuntu8.8) ... update-initramfs: Generating /boot/initrd.img-4.8.0-36-generic W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915 rm: cannot remove 'bluez-5.43*': No such file or directory --2017-08-10 16:57:35-- http://www.kernel.org/pub/linux/bluetooth/bluez-5.43.tar.xz Resolving www.kernel.org (www.kernel.org)... 147.75.202.151, 2604:1380:1000:8100::5 Connecting to www.kernel.org (www.kernel.org)|147.75.202.151|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.kernel.org/pub/linux/bluetooth/bluez-5.43.tar.xz [following] --2017-08-10 16:57:35-- https://www.kernel.org/pub/linux/bluetooth/bluez-5.43.tar.xz Connecting to www.kernel.org (www.kernel.org)|147.75.202.151|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1658348 (1.6M) [application/x-xz] Saving to: ‘bluez-5.43.tar.xz’ bluez-5.43.tar.xz 100%[=====================================================>] 1.58M 9.58MB/s in 0.2s 2017-08-10 16:57:35 (9.58 MB/s) - ‘bluez-5.43.tar.xz’ saved [1658348/1658348] bluez-5.43/ bluez-5.43/Makefile.plugins bluez-5.43/emulator/ bluez-5.43/emulator/bthost.h bluez-5.43/emulator/phy.c bluez-5.43/emulator/hfp.c bluez-5.43/emulator/hciemu.h bluez-5.43/emulator/smp.c bluez-5.43/emulator/le.h bluez-5.43/emulator/server.c bluez-5.43/emulator/bthost.c bluez-5.43/emulator/b1ee.c bluez-5.43/emulator/serial.h bluez-5.43/emulator/vhci.h bluez-5.43/emulator/phy.h bluez-5.43/emulator/btdev.c bluez-5.43/emulator/btdev.h bluez-5.43/emulator/main.c bluez-5.43/emulator/le.c bluez-5.43/emulator/amp.h bluez-5.43/emulator/serial.c bluez-5.43/emulator/vhci.c bluez-5.43/emulator/server.h bluez-5.43/emulator/hciemu.c bluez-5.43/emulator/amp.c bluez-5.43/aclocal.m4 bluez-5.43/depcomp bluez-5.43/INSTALL bluez-5.43/peripheral/ bluez-5.43/peripheral/gatt.h bluez-5.43/peripheral/efivars.c bluez-5.43/peripheral/log.h bluez-5.43/peripheral/attach.c bluez-5.43/peripheral/gap.h bluez-5.43/peripheral/attach.h bluez-5.43/peripheral/gap.c bluez-5.43/peripheral/efivars.h bluez-5.43/peripheral/gatt.c bluez-5.43/peripheral/main.c bluez-5.43/peripheral/log.c bluez-5.43/Makefile.obexd bluez-5.43/Makefile.tools bluez-5.43/config.h.in bluez-5.43/btio/ bluez-5.43/btio/btio.c bluez-5.43/btio/btio.h bluez-5.43/install-sh bluez-5.43/attrib/ bluez-5.43/attrib/gatt.h bluez-5.43/attrib/gatttool.c bluez-5.43/attrib/gattrib.c bluez-5.43/attrib/gatttool.h bluez-5.43/attrib/att-database.h bluez-5.43/attrib/interactive.c bluez-5.43/attrib/gatt-service.c bluez-5.43/attrib/utils.c bluez-5.43/attrib/gatt-service.h bluez-5.43/attrib/gatt.c bluez-5.43/attrib/gattrib.h bluez-5.43/attrib/att.c bluez-5.43/attrib/att.h bluez-5.43/missing bluez-5.43/configure.ac bluez-5.43/acinclude.m4 bluez-5.43/NEWS bluez-5.43/configure bluez-5.43/COPYING bluez-5.43/Makefile.am bluez-5.43/doc/ bluez-5.43/doc/pts-opp.txt bluez-5.43/doc/pixit-opp.txt bluez-5.43/doc/sap-api.txt bluez-5.43/doc/media-api.txt bluez-5.43/doc/input-api.txt bluez-5.43/doc/adapter-api.txt bluez-5.43/doc/obex-agent-api.txt bluez-5.43/doc/health-api.txt bluez-5.43/doc/btsnoop.txt bluez-5.43/doc/test-coverage.txt bluez-5.43/doc/test-runner.txt bluez-5.43/doc/thermometer-api.txt bluez-5.43/doc/settings-storage.txt bluez-5.43/doc/profile-api.txt bluez-5.43/doc/btmon.txt bluez-5.43/doc/supported-features.txt bluez-5.43/doc/obex-api.txt bluez-5.43/doc/pics-opp.txt bluez-5.43/doc/mgmt-api.txt bluez-5.43/doc/device-api.txt bluez-5.43/doc/advertising-api.txt bluez-5.43/doc/gatt-api.txt bluez-5.43/doc/cyclingspeed-api.txt bluez-5.43/doc/network-api.txt bluez-5.43/doc/proximity-api.txt bluez-5.43/doc/assigned-numbers.txt bluez-5.43/doc/heartrate-api.txt bluez-5.43/doc/alert-api.txt bluez-5.43/doc/agent-api.txt bluez-5.43/obexd/ bluez-5.43/obexd/src/ bluez-5.43/obexd/src/obex.c bluez-5.43/obexd/src/transport.c bluez-5.43/obexd/src/mimetype.c bluez-5.43/obexd/src/service.h bluez-5.43/obexd/src/log.h bluez-5.43/obexd/src/plugin.h bluez-5.43/obexd/src/org.bluez.obex.service bluez-5.43/obexd/src/map_ap.h bluez-5.43/obexd/src/server.c bluez-5.43/obexd/src/transport.h bluez-5.43/obexd/src/obex.h bluez-5.43/obexd/src/plugin.c bluez-5.43/obexd/src/obex-priv.h bluez-5.43/obexd/src/main.c bluez-5.43/obexd/src/obexd.h bluez-5.43/obexd/src/manager.h bluez-5.43/obexd/src/service.c bluez-5.43/obexd/src/mimetype.h bluez-5.43/obexd/src/obex.service.in bluez-5.43/obexd/src/manager.c bluez-5.43/obexd/src/server.h bluez-5.43/obexd/src/genbuiltin bluez-5.43/obexd/src/log.c bluez-5.43/obexd/plugins/ bluez-5.43/obexd/plugins/messages-dummy.c bluez-5.43/obexd/plugins/bluetooth.c bluez-5.43/obexd/plugins/ftp.h bluez-5.43/obexd/plugins/phonebook-dummy.c bluez-5.43/obexd/plugins/filesystem.c bluez-5.43/obexd/plugins/mas.c bluez-5.43/obexd/plugins/opp.c bluez-5.43/obexd/plugins/messages.h bluez-5.43/obexd/plugins/phonebook.h bluez-5.43/obexd/plugins/vcard.c bluez-5.43/obexd/plugins/vcard.h bluez-5.43/obexd/plugins/pcsuite.c bluez-5.43/obexd/plugins/ftp.c bluez-5.43/obexd/plugins/filesystem.h bluez-5.43/obexd/plugins/pbap.c bluez-5.43/obexd/plugins/irmc.c bluez-5.43/obexd/client/ bluez-5.43/obexd/client/map-event.h bluez-5.43/obexd/client/bluetooth.c bluez-5.43/obexd/client/pbap.h bluez-5.43/obexd/client/dbus.c bluez-5.43/obexd/client/dbus.h bluez-5.43/obexd/client/transfer.h bluez-5.43/obexd/client/ftp.h bluez-5.43/obexd/client/transport.c bluez-5.43/obexd/client/opp.h bluez-5.43/obexd/client/mns.c bluez-5.43/obexd/client/opp.c bluez-5.43/obexd/client/transport.h bluez-5.43/obexd/client/sync.h bluez-5.43/obexd/client/ftp.c bluez-5.43/obexd/client/map.c bluez-5.43/obexd/client/transfer.c bluez-5.43/obexd/client/pbap.c bluez-5.43/obexd/client/sync.c bluez-5.43/obexd/client/manager.h bluez-5.43/obexd/client/session.c bluez-5.43/obexd/client/bluetooth.h bluez-5.43/obexd/client/session.h bluez-5.43/obexd/client/map-event.c bluez-5.43/obexd/client/driver.c bluez-5.43/obexd/client/manager.c bluez-5.43/obexd/client/map.h bluez-5.43/obexd/client/driver.h bluez-5.43/src/ bluez-5.43/src/sdp-client.c bluez-5.43/src/backtrace.c bluez-5.43/src/sdpd-database.c bluez-5.43/src/service.h bluez-5.43/src/attrib-server.c bluez-5.43/src/gatt-database.c bluez-5.43/src/sdpd-server.c bluez-5.43/src/gatt-client.h bluez-5.43/src/log.h bluez-5.43/src/plugin.h bluez-5.43/src/systemd.h bluez-5.43/src/sdp-client.h bluez-5.43/src/shared/ bluez-5.43/src/shared/queue.c bluez-5.43/src/shared/tester.h bluez-5.43/src/shared/hfp.c bluez-5.43/src/shared/att-types.h bluez-5.43/src/shared/gatt-server.c bluez-5.43/src/shared/timeout.h bluez-5.43/src/shared/gatt-client.h bluez-5.43/src/shared/gatt-server.h bluez-5.43/src/shared/ad.h bluez-5.43/src/shared/gatt-db.h bluez-5.43/src/shared/util.h bluez-5.43/src/shared/mainloop.c bluez-5.43/src/shared/timeout-mainloop.c bluez-5.43/src/shared/hci.c bluez-5.43/src/shared/ad.c bluez-5.43/src/shared/pcap.c bluez-5.43/src/shared/ecc.h bluez-5.43/src/shared/uhid.c bluez-5.43/src/shared/tester.c bluez-5.43/src/shared/gatt-helpers.c bluez-5.43/src/shared/uhid.h bluez-5.43/src/shared/crypto.h bluez-5.43/src/shared/gap.h bluez-5.43/src/shared/ringbuf.h bluez-5.43/src/shared/io-mainloop.c bluez-5.43/src/shared/btsnoop.c bluez-5.43/src/shared/tty.h bluez-5.43/src/shared/timeout-glib.c bluez-5.43/src/shared/gatt-helpers.h bluez-5.43/src/shared/ringbuf.c bluez-5.43/src/shared/hci-crypto.c bluez-5.43/src/shared/btsnoop.h bluez-5.43/src/shared/mgmt.h bluez-5.43/src/shared/pcap.h bluez-5.43/src/shared/gap.c bluez-5.43/src/shared/hfp.h bluez-5.43/src/shared/util.c bluez-5.43/src/shared/ecc.c bluez-5.43/src/shared/io.h bluez-5.43/src/shared/hci-crypto.h bluez-5.43/src/shared/queue.h bluez-5.43/src/shared/io-glib.c bluez-5.43/src/shared/crypto.c bluez-5.43/src/shared/mgmt.c bluez-5.43/src/shared/mainloop.h bluez-5.43/src/shared/hci.h bluez-5.43/src/shared/gatt-client.c bluez-5.43/src/shared/att.c bluez-5.43/src/shared/gatt-db.c bluez-5.43/src/shared/att.h bluez-5.43/src/main.conf bluez-5.43/src/oui.c bluez-5.43/src/adapter.h bluez-5.43/src/bluetooth.service.in bluez-5.43/src/systemd.c bluez-5.43/src/agent.c bluez-5.43/src/uuid-helper.h bluez-5.43/src/storage.c bluez-5.43/src/profile.h bluez-5.43/src/plugin.c bluez-5.43/src/profile.c bluez-5.43/src/rfkill.c bluez-5.43/src/adapter.c bluez-5.43/src/sdpd-request.c bluez-5.43/src/device.c bluez-5.43/src/eir.h bluez-5.43/src/uinput.h bluez-5.43/src/org.bluez.service bluez-5.43/src/storage.h bluez-5.43/src/uuid-helper.c bluez-5.43/src/textfile.c bluez-5.43/src/oui.h bluez-5.43/src/bluetoothd.8.in bluez-5.43/src/dbus-common.h bluez-5.43/src/device.h bluez-5.43/src/main.c bluez-5.43/src/hcid.h bluez-5.43/src/sdpd-service.c bluez-5.43/src/service.c bluez-5.43/src/dbus-common.c bluez-5.43/src/sdp-xml.c bluez-5.43/src/sdpd.h bluez-5.43/src/gatt-database.h bluez-5.43/src/bluetooth.ver bluez-5.43/src/textfile.h bluez-5.43/src/bluetooth.conf bluez-5.43/src/advertising.h bluez-5.43/src/backtrace.h bluez-5.43/src/error.h bluez-5.43/src/agent.h bluez-5.43/src/gatt-client.c bluez-5.43/src/attrib-server.h bluez-5.43/src/sdp-xml.h bluez-5.43/src/eir.c bluez-5.43/src/error.c bluez-5.43/src/genbuiltin bluez-5.43/src/log.c bluez-5.43/src/advertising.c bluez-5.43/profiles/ bluez-5.43/profiles/cups/ bluez-5.43/profiles/cups/cups.h bluez-5.43/profiles/cups/spp.c bluez-5.43/profiles/cups/hcrp.c bluez-5.43/profiles/cups/sdp.c bluez-5.43/profiles/cups/main.c bluez-5.43/profiles/proximity/ bluez-5.43/profiles/proximity/proximity.conf bluez-5.43/profiles/deviceinfo/ bluez-5.43/profiles/deviceinfo/deviceinfo.c bluez-5.43/profiles/deviceinfo/dis.h bluez-5.43/profiles/deviceinfo/dis.c bluez-5.43/profiles/network/ bluez-5.43/profiles/network/connection.c bluez-5.43/profiles/network/bnep.h bluez-5.43/profiles/network/server.c bluez-5.43/profiles/network/connection.h bluez-5.43/profiles/network/manager.c bluez-5.43/profiles/network/server.h bluez-5.43/profiles/network/bnep.c bluez-5.43/profiles/network/network.conf bluez-5.43/profiles/iap/ bluez-5.43/profiles/iap/main.c bluez-5.43/profiles/health/ bluez-5.43/profiles/health/hdp_main.c bluez-5.43/profiles/health/hdp.h bluez-5.43/profiles/health/mcap.h bluez-5.43/profiles/health/hdp_util.c bluez-5.43/profiles/health/hdp_manager.c bluez-5.43/profiles/health/mcap.c bluez-5.43/profiles/health/hdp_manager.h bluez-5.43/profiles/health/hdp.c bluez-5.43/profiles/health/hdp_util.h bluez-5.43/profiles/health/hdp_types.h bluez-5.43/profiles/scanparam/ bluez-5.43/profiles/scanparam/scan.c bluez-5.43/profiles/scanparam/scpp.h bluez-5.43/profiles/scanparam/scpp.c bluez-5.43/profiles/input/ bluez-5.43/profiles/input/uhid_copy.h bluez-5.43/profiles/input/suspend-dummy.c bluez-5.43/profiles/input/suspend-none.c bluez-5.43/profiles/input/server.c bluez-5.43/profiles/input/hog-lib.h bluez-5.43/profiles/input/suspend.h bluez-5.43/profiles/input/device.c bluez-5.43/profiles/input/hog.c bluez-5.43/profiles/input/input.conf bluez-5.43/profiles/input/device.h bluez-5.43/profiles/input/hidp_defs.h bluez-5.43/profiles/input/manager.c bluez-5.43/profiles/input/hog-lib.c bluez-5.43/profiles/input/server.h bluez-5.43/profiles/audio/ bluez-5.43/profiles/audio/player.h bluez-5.43/profiles/audio/media.c bluez-5.43/profiles/audio/source.c bluez-5.43/profiles/audio/transport.c bluez-5.43/profiles/audio/sink.h bluez-5.43/profiles/audio/a2dp.h bluez-5.43/profiles/audio/media.h bluez-5.43/profiles/audio/a2dp.c bluez-5.43/profiles/audio/transport.h bluez-5.43/profiles/audio/control.c bluez-5.43/profiles/audio/avrcp.h bluez-5.43/profiles/audio/avctp.c bluez-5.43/profiles/audio/a2dp-codecs.h bluez-5.43/profiles/audio/avrcp.c bluez-5.43/profiles/audio/source.h bluez-5.43/profiles/audio/avdtp.h bluez-5.43/profiles/audio/player.c bluez-5.43/profiles/audio/sink.c bluez-5.43/profiles/audio/avctp.h bluez-5.43/profiles/audio/avdtp.c bluez-5.43/profiles/audio/control.h bluez-5.43/profiles/battery/ bluez-5.43/profiles/battery/bas.h bluez-5.43/profiles/battery/bas.c bluez-5.43/profiles/gap/ bluez-5.43/profiles/gap/gas.c bluez-5.43/profiles/sap/ bluez-5.43/profiles/sap/sap-u8500.c bluez-5.43/profiles/sap/server.c bluez-5.43/profiles/sap/main.c bluez-5.43/profiles/sap/manager.h bluez-5.43/profiles/sap/sap-dummy.c bluez-5.43/profiles/sap/sap.h bluez-5.43/profiles/sap/manager.c bluez-5.43/profiles/sap/server.h bluez-5.43/android/ bluez-5.43/android/pts-map.txt bluez-5.43/android/hal-ipc-api.txt bluez-5.43/android/hidhost.c bluez-5.43/android/tester-hdp.c bluez-5.43/android/pts-a2dp.txt bluez-5.43/android/pts-avdtp.txt bluez-5.43/android/pts-iopt.txt bluez-5.43/android/pts-opp.txt bluez-5.43/android/pics-mcap.txt bluez-5.43/android/hardware/ bluez-5.43/android/hardware/bt_hf.h bluez-5.43/android/hardware/bt_hh.h bluez-5.43/android/hardware/bt_av.h bluez-5.43/android/hardware/bt_mce.h bluez-5.43/android/hardware/bt_sock.h bluez-5.43/android/hardware/bt_hl.h bluez-5.43/android/hardware/bt_gatt_client.h bluez-5.43/android/hardware/bt_gatt.h bluez-5.43/android/hardware/bt_hf_client.h bluez-5.43/android/hardware/hardware.h bluez-5.43/android/hardware/bt_pan.h bluez-5.43/android/hardware/bluetooth.h bluez-5.43/android/hardware/audio_effect.h bluez-5.43/android/hardware/audio.h bluez-5.43/android/hardware/bt_rc.h bluez-5.43/android/hardware/hardware.c bluez-5.43/android/hardware/bt_gatt_types.h bluez-5.43/android/hardware/bt_gatt_server.h bluez-5.43/android/pts-pan.txt bluez-5.43/android/bluetooth.c bluez-5.43/android/health.h bluez-5.43/android/pixit-opp.txt bluez-5.43/android/gatt.h bluez-5.43/android/pts-hogp.txt bluez-5.43/android/pics-gatt.txt bluez-5.43/android/pics-rfcomm.txt bluez-5.43/android/tester-main.c bluez-5.43/android/pixit-hogp.txt bluez-5.43/android/pts-did.txt bluez-5.43/android/pixit-mcap.txt bluez-5.43/android/pixit-spp.txt bluez-5.43/android/pan.h bluez-5.43/android/hal-map-client.c bluez-5.43/android/a2dp.h bluez-5.43/android/pan.c bluez-5.43/android/pts-sdp.txt bluez-5.43/android/pixit-did.txt bluez-5.43/android/pts-gap.txt bluez-5.43/android/pics-bnep.txt bluez-5.43/android/pixit-bnep.txt bluez-5.43/android/tester-avrcp.c bluez-5.43/android/hal-ipc.h bluez-5.43/android/pics-pan.txt bluez-5.43/android/pics-map.txt bluez-5.43/android/ipc-tester.c bluez-5.43/android/hal-handsfree-client.c bluez-5.43/android/tester-a2dp.c bluez-5.43/android/hal-hidhost.c bluez-5.43/android/a2dp.c bluez-5.43/android/pics-gap.txt bluez-5.43/android/pics-hfp.txt bluez-5.43/android/sco.c bluez-5.43/android/pixit-mps.txt bluez-5.43/android/pics-avdtp.txt bluez-5.43/android/pts-sm.txt bluez-5.43/android/map-client.h bluez-5.43/android/bluetoothd_snoop.te bluez-5.43/android/bluetoothd-wrapper.c bluez-5.43/android/pts-mcap.txt bluez-5.43/android/hal-utils.c bluez-5.43/android/hal-handsfree.c bluez-5.43/android/ipc.h bluez-5.43/android/pics-avrcp.txt bluez-5.43/android/pixit-hid.txt bluez-5.43/android/hal-audio-aptx.c bluez-5.43/android/pixit-gatt.txt bluez-5.43/android/pics-scpp.txt bluez-5.43/android/avdtptest.c bluez-5.43/android/system-emulator.c bluez-5.43/android/pixit-scpp.txt bluez-5.43/android/tester-map-client.c bluez-5.43/android/pixit-rfcomm.txt bluez-5.43/android/pics-hsp.txt bluez-5.43/android/pixit-avctp.txt bluez-5.43/android/pics-gavdp.txt bluez-5.43/android/system/ bluez-5.43/android/system/audio.h bluez-5.43/android/hal-gatt.c bluez-5.43/android/init.bluetooth.rc bluez-5.43/android/a2dp-sink.h bluez-5.43/android/pics-iopt.txt bluez-5.43/android/hal-audio.c bluez-5.43/android/pics-opp.txt bluez-5.43/android/pixit-pbap.txt bluez-5.43/android/hal-avrcp-ctrl.c bluez-5.43/android/pts-spp.txt bluez-5.43/android/handsfree-client.h bluez-5.43/android/pics-hdp.txt bluez-5.43/android/tester-socket.c bluez-5.43/android/pts-pbap.txt bluez-5.43/android/ipc-common.h bluez-5.43/android/cts.txt bluez-5.43/android/hal-socket.c bluez-5.43/android/pts-mps.txt bluez-5.43/android/tester-pan.c bluez-5.43/android/tester-main.h bluez-5.43/android/pts-dis.txt bluez-5.43/android/Android.mk bluez-5.43/android/ipc.c bluez-5.43/android/hidhost.h bluez-5.43/android/pixit-gavdp.txt bluez-5.43/android/pics-spp.txt bluez-5.43/android/pts-gavdp.txt bluez-5.43/android/pixit-sdp.txt bluez-5.43/android/health.c bluez-5.43/android/Makefile.am bluez-5.43/android/pts-bnep.txt bluez-5.43/android/cutils/ bluez-5.43/android/cutils/properties.h bluez-5.43/android/pixit-iopt.txt bluez-5.43/android/pics-did.txt bluez-5.43/android/pts-scpp.txt bluez-5.43/android/pics-mps.txt bluez-5.43/android/pixit-sm.txt bluez-5.43/android/audio_utils/ bluez-5.43/android/audio_utils/resampler.h bluez-5.43/android/audio_utils/resampler.c bluez-5.43/android/bluetoothd.te bluez-5.43/android/pixit-l2cap.txt bluez-5.43/android/audio-ipc-api.txt bluez-5.43/android/hal-audio-sbc.c bluez-5.43/android/pixit-avrcp.txt bluez-5.43/android/pixit-pan.txt bluez-5.43/android/pics-hid.txt bluez-5.43/android/hal-pan.c bluez-5.43/android/pics-avctp.txt bluez-5.43/android/pics-sm.txt bluez-5.43/android/tester-bluetooth.c bluez-5.43/android/pixit-hfp.txt bluez-5.43/android/pics-sdp.txt bluez-5.43/android/gatt.c bluez-5.43/android/pts-l2cap.txt bluez-5.43/android/avrcp-lib.h bluez-5.43/android/a2dp-sink.c bluez-5.43/android/pixit-gap.txt bluez-5.43/android/hal-avrcp.c bluez-5.43/android/main.c bluez-5.43/android/pts-hid.txt bluez-5.43/android/compat/ bluez-5.43/android/compat/wordexp.h bluez-5.43/android/compat/readline/ bluez-5.43/android/compat/readline/history.h bluez-5.43/android/compat/readline/readline.h bluez-5.43/android/avrcp.h bluez-5.43/android/handsfree.c bluez-5.43/android/pts-gatt.txt bluez-5.43/android/pts-avctp.txt bluez-5.43/android/pics-pbap.txt bluez-5.43/android/pixit-hdp.txt bluez-5.43/android/bluetoothd-snoop.c bluez-5.43/android/tester-gatt.c bluez-5.43/android/hal-a2dp.c bluez-5.43/android/avctp.c bluez-5.43/android/bluetooth.h bluez-5.43/android/client/ bluez-5.43/android/client/if-main.h bluez-5.43/android/client/if-pan.c bluez-5.43/android/client/if-rc-ctrl.c bluez-5.43/android/client/if-sco.c bluez-5.43/android/client/if-mce.c bluez-5.43/android/client/if-hl.c bluez-5.43/android/client/pollhandler.h bluez-5.43/android/client/pollhandler.c bluez-5.43/android/client/history.c bluez-5.43/android/client/history.h bluez-5.43/android/client/if-av-sink.c bluez-5.43/android/client/if-rc.c bluez-5.43/android/client/haltest.c bluez-5.43/android/client/if-gatt.c bluez-5.43/android/client/terminal.h bluez-5.43/android/client/if-hf.c bluez-5.43/android/client/tabcompletion.c bluez-5.43/android/client/terminal.c bluez-5.43/android/client/if-audio.c bluez-5.43/android/client/if-hf-client.c bluez-5.43/android/client/if-hh.c bluez-5.43/android/client/if-sock.c bluez-5.43/android/client/if-av.c bluez-5.43/android/client/if-bt.c bluez-5.43/android/hal-sco.c bluez-5.43/android/pts-hdp.txt bluez-5.43/android/hal-bluetooth.c bluez-5.43/android/pixit-avdtp.txt bluez-5.43/android/hal-audio.h bluez-5.43/android/hal-log.h bluez-5.43/android/pics-l2cap.txt bluez-5.43/android/handsfree.h bluez-5.43/android/socket.h bluez-5.43/android/hal-msg.h bluez-5.43/android/pts-rfcomm.txt bluez-5.43/android/pixit-hsp.txt bluez-5.43/android/tester-hidhost.c bluez-5.43/android/test-ipc.c bluez-5.43/android/avrcp.c bluez-5.43/android/sco-msg.h bluez-5.43/android/avrcp-lib.c bluez-5.43/android/hal-ipc.c bluez-5.43/android/pixit-a2dp.txt bluez-5.43/android/hal-health.c bluez-5.43/android/pts-avrcp.txt bluez-5.43/android/avdtp.h bluez-5.43/android/utils.h bluez-5.43/android/pics-hogp.txt bluez-5.43/android/pixit-map.txt bluez-5.43/android/pixit-dis.txt bluez-5.43/android/pts-hfp.txt bluez-5.43/android/README bluez-5.43/android/handsfree-client.c bluez-5.43/android/map-client.c bluez-5.43/android/avctp.h bluez-5.43/android/socket.c bluez-5.43/android/pts-hsp.txt bluez-5.43/android/avdtp.c bluez-5.43/android/hal.h bluez-5.43/android/hal-utils.h bluez-5.43/android/hal-a2dp-sink.c bluez-5.43/android/pics-a2dp.txt bluez-5.43/android/log.c bluez-5.43/android/audio-msg.h bluez-5.43/android/pics-dis.txt bluez-5.43/android/sco.h bluez-5.43/config.guess bluez-5.43/ChangeLog bluez-5.43/gdbus/ bluez-5.43/gdbus/polkit.c bluez-5.43/gdbus/gdbus.h bluez-5.43/gdbus/object.c bluez-5.43/gdbus/mainloop.c bluez-5.43/gdbus/watch.c bluez-5.43/gdbus/client.c bluez-5.43/Makefile.in bluez-5.43/plugins/ bluez-5.43/plugins/sixaxis.c bluez-5.43/plugins/wiimote.c bluez-5.43/plugins/autopair.c bluez-5.43/plugins/neard.c bluez-5.43/plugins/hostname.c bluez-5.43/plugins/external-dummy.c bluez-5.43/plugins/policy.c bluez-5.43/plugins/gatt-example.c bluez-5.43/ltmain.sh bluez-5.43/compile bluez-5.43/AUTHORS bluez-5.43/monitor/ bluez-5.43/monitor/sdp.h bluez-5.43/monitor/analyze.c bluez-5.43/monitor/vendor.h bluez-5.43/monitor/hwdb.h bluez-5.43/monitor/a2dp.h bluez-5.43/monitor/packet.c bluez-5.43/monitor/bt.h bluez-5.43/monitor/lmp.c bluez-5.43/monitor/bnep.h bluez-5.43/monitor/a2dp.c bluez-5.43/monitor/intel.h bluez-5.43/monitor/rfcomm.c bluez-5.43/monitor/ellisys.c bluez-5.43/monitor/ll.c bluez-5.43/monitor/broadcom.h bluez-5.43/monitor/lmp.h bluez-5.43/monitor/display.c bluez-5.43/monitor/hcidump.h bluez-5.43/monitor/ll.h bluez-5.43/monitor/ellisys.h bluez-5.43/monitor/tty.h bluez-5.43/monitor/control.c bluez-5.43/monitor/sdp.c bluez-5.43/monitor/uuid.c bluez-5.43/monitor/keys.c bluez-5.43/monitor/crc.h bluez-5.43/monitor/keys.h bluez-5.43/monitor/intel.c bluez-5.43/monitor/broadcom.c bluez-5.43/monitor/packet.h bluez-5.43/monitor/crc.c bluez-5.43/monitor/main.c bluez-5.43/monitor/hwdb.c bluez-5.43/monitor/hcidump.c bluez-5.43/monitor/avctp.c bluez-5.43/monitor/uuid.h bluez-5.43/monitor/analyze.h bluez-5.43/monitor/l2cap.h bluez-5.43/monitor/l2cap.c bluez-5.43/monitor/bnep.c bluez-5.43/monitor/avdtp.h bluez-5.43/monitor/rfcomm.h bluez-5.43/monitor/avctp.h bluez-5.43/monitor/vendor.c bluez-5.43/monitor/avdtp.c bluez-5.43/monitor/display.h bluez-5.43/monitor/control.h bluez-5.43/client/ bluez-5.43/client/gatt.h bluez-5.43/client/display.c bluez-5.43/client/agent.c bluez-5.43/client/gatt.c bluez-5.43/client/main.c bluez-5.43/client/advertising.h bluez-5.43/client/agent.h bluez-5.43/client/display.h bluez-5.43/client/advertising.c bluez-5.43/gobex/ bluez-5.43/gobex/gobex-packet.c bluez-5.43/gobex/gobex-apparam.h bluez-5.43/gobex/gobex.h bluez-5.43/gobex/gobex-defs.h bluez-5.43/gobex/gobex-header.h bluez-5.43/gobex/gobex-debug.h bluez-5.43/gobex/gobex-apparam.c bluez-5.43/gobex/gobex-packet.h bluez-5.43/gobex/gobex-header.c bluez-5.43/gobex/gobex-defs.c bluez-5.43/gobex/gobex.c bluez-5.43/gobex/gobex-transfer.c bluez-5.43/lib/ bluez-5.43/lib/sdp.h bluez-5.43/lib/bluetooth.c bluez-5.43/lib/bnep.h bluez-5.43/lib/hci.c bluez-5.43/lib/a2mp.h bluez-5.43/lib/cmtp.h bluez-5.43/lib/sdp_lib.h bluez-5.43/lib/sdp.c bluez-5.43/lib/uuid.c bluez-5.43/lib/bluez.pc.in bluez-5.43/lib/mgmt.h bluez-5.43/lib/bluetooth.h bluez-5.43/lib/uuid.h bluez-5.43/lib/amp.h bluez-5.43/lib/hci.h bluez-5.43/lib/hci_lib.h bluez-5.43/lib/l2cap.h bluez-5.43/lib/rfcomm.h bluez-5.43/lib/hidp.h bluez-5.43/lib/sco.h bluez-5.43/tools/ bluez-5.43/tools/hciattach.1 bluez-5.43/tools/userchan-tester.c bluez-5.43/tools/sdptool.1 bluez-5.43/tools/bccmd.1 bluez-5.43/tools/hciattach_tialt.c bluez-5.43/tools/seq2bseq.c bluez-5.43/tools/csr_bcsp.c bluez-5.43/tools/test-runner.c bluez-5.43/tools/ciptool.c bluez-5.43/tools/hcitool.c bluez-5.43/tools/obex-server-tool.c bluez-5.43/tools/hid2hci.1 bluez-5.43/tools/hid2hci.c bluez-5.43/tools/hcieventmask.c bluez-5.43/tools/gap-tester.c bluez-5.43/tools/hciattach_qualcomm.c bluez-5.43/tools/mpris-proxy.c bluez-5.43/tools/ubcsp.c bluez-5.43/tools/btiotest.c bluez-5.43/tools/create-image.c bluez-5.43/tools/rfcomm.c bluez-5.43/tools/hex2hcd.c bluez-5.43/tools/bluetooth-player.c bluez-5.43/tools/ibeacon.c bluez-5.43/tools/avtest.c bluez-5.43/tools/hciattach_bcm43xx.c bluez-5.43/tools/amptest.c bluez-5.43/tools/mgmt-tester.c bluez-5.43/tools/smp-tester.c bluez-5.43/tools/csr_hci.c bluez-5.43/tools/obexctl.c bluez-5.43/tools/oobtest.c bluez-5.43/tools/nokfw.c bluez-5.43/tools/rfcomm-tester.c bluez-5.43/tools/hciattach_ti.c bluez-5.43/tools/btsnoop.c bluez-5.43/tools/scotest.c bluez-5.43/tools/l2ping.1 bluez-5.43/tools/btinfo.c bluez-5.43/tools/parser/ bluez-5.43/tools/parser/sdp.h bluez-5.43/tools/parser/obex.c bluez-5.43/tools/parser/lmp.c bluez-5.43/tools/parser/bpa.c bluez-5.43/tools/parser/smp.c bluez-5.43/tools/parser/rfcomm.c bluez-5.43/tools/parser/hci.c bluez-5.43/tools/parser/cmtp.c bluez-5.43/tools/parser/tcpip.c bluez-5.43/tools/parser/hcrp.c bluez-5.43/tools/parser/sdp.c bluez-5.43/tools/parser/parser.h bluez-5.43/tools/parser/sap.c bluez-5.43/tools/parser/parser.c bluez-5.43/tools/parser/hidp.c bluez-5.43/tools/parser/ericsson.c bluez-5.43/tools/parser/capi.c bluez-5.43/tools/parser/avctp.c bluez-5.43/tools/parser/avrcp.c bluez-5.43/tools/parser/l2cap.h bluez-5.43/tools/parser/l2cap.c bluez-5.43/tools/parser/ppp.c bluez-5.43/tools/parser/bnep.c bluez-5.43/tools/parser/att.c bluez-5.43/tools/parser/rfcomm.h bluez-5.43/tools/parser/avdtp.c bluez-5.43/tools/parser/amp.c bluez-5.43/tools/parser/csr.c bluez-5.43/tools/btproxy.c bluez-5.43/tools/gatt-service.c bluez-5.43/tools/rfcomm.1 bluez-5.43/tools/hciconfig.1 bluez-5.43/tools/3dsp.c bluez-5.43/tools/hcisecfilter.c bluez-5.43/tools/l2cap-tester.c bluez-5.43/tools/sdptool.c bluez-5.43/tools/ciptool.1 bluez-5.43/tools/hcidump.1 bluez-5.43/tools/btmgmt.c bluez-5.43/tools/hci-tester.c bluez-5.43/tools/ubcsp.h bluez-5.43/tools/hciattach_st.c bluez-5.43/tools/eddystone.c bluez-5.43/tools/rctest.1 bluez-5.43/tools/hciattach.h bluez-5.43/tools/avinfo.c bluez-5.43/tools/btattach.c bluez-5.43/tools/hwdb.c bluez-5.43/tools/hid2hci.rules bluez-5.43/tools/magic.btsnoop bluez-5.43/tools/btgatt-server.c bluez-5.43/tools/l2test.c bluez-5.43/tools/hcidump.c bluez-5.43/tools/hcitool.1 bluez-5.43/tools/hciattach_intel.c bluez-5.43/tools/bdaddr.c bluez-5.43/tools/l2ping.c bluez-5.43/tools/csr_usb.c bluez-5.43/tools/bneptest.c bluez-5.43/tools/csr_3wire.c bluez-5.43/tools/btattach.1 bluez-5.43/tools/bccmd.c bluez-5.43/tools/bnep-tester.c bluez-5.43/tools/check-selftest.c bluez-5.43/tools/hciattach_ath3k.c bluez-5.43/tools/hciconfig.c bluez-5.43/tools/btgatt-client.c bluez-5.43/tools/mcaptest.c bluez-5.43/tools/rctest.c bluez-5.43/tools/csr_h4.c bluez-5.43/tools/csr.h bluez-5.43/tools/obex-client-tool.c bluez-5.43/tools/sco-tester.c bluez-5.43/tools/csr.c bluez-5.43/tools/bluemoon.c bluez-5.43/tools/hciattach.c bluez-5.43/tools/cltest.c bluez-5.43/COPYING.LIB bluez-5.43/TODO bluez-5.43/unit/ bluez-5.43/unit/test-hfp.c bluez-5.43/unit/test-queue.c bluez-5.43/unit/test-gdbus-client.c bluez-5.43/unit/test-crypto.c bluez-5.43/unit/test-uuid.c bluez-5.43/unit/test-uhid.c bluez-5.43/unit/test-gobex-packet.c bluez-5.43/unit/test-avrcp.c bluez-5.43/unit/util.h bluez-5.43/unit/test-gobex-header.c bluez-5.43/unit/test-crc.c bluez-5.43/unit/test-avdtp.c bluez-5.43/unit/test-gobex.c bluez-5.43/unit/test-textfile.c bluez-5.43/unit/test-gobex-transfer.c bluez-5.43/unit/test-mgmt.c bluez-5.43/unit/test-gobex-apparam.c bluez-5.43/unit/test-eir.c bluez-5.43/unit/test-hog.c bluez-5.43/unit/util.c bluez-5.43/unit/test-ringbuf.c bluez-5.43/unit/test-sdp.c bluez-5.43/unit/test-ecc.c bluez-5.43/unit/test-gattrib.c bluez-5.43/unit/test-avctp.c bluez-5.43/unit/test-lib.c bluez-5.43/unit/test-gatt.c bluez-5.43/README bluez-5.43/test-driver bluez-5.43/config.sub bluez-5.43/test/ bluez-5.43/test/service-did.xml bluez-5.43/test/test-health-sink bluez-5.43/test/test-health bluez-5.43/test/test-adapter bluez-5.43/test/test-device bluez-5.43/test/pbap-client bluez-5.43/test/map-client bluez-5.43/test/test-cyclingspeed bluez-5.43/test/test-gatt-profile bluez-5.43/test/test-proximity bluez-5.43/test/monitor-bluetooth bluez-5.43/test/dbusdef.py bluez-5.43/test/test-nap bluez-5.43/test/test-profile bluez-5.43/test/example-advertisement bluez-5.43/test/test-discovery bluez-5.43/test/example-gatt-server bluez-5.43/test/example-gatt-client bluez-5.43/test/test-manager bluez-5.43/test/test-heartrate bluez-5.43/test/ftp-client bluez-5.43/test/list-devices bluez-5.43/test/test-alert bluez-5.43/test/test-sap-server bluez-5.43/test/simple-agent bluez-5.43/test/service-opp.xml bluez-5.43/test/simple-endpoint bluez-5.43/test/service-ftp.xml bluez-5.43/test/service-record.dtd bluez-5.43/test/service-spp.xml bluez-5.43/test/test-hfp bluez-5.43/test/test-network bluez-5.43/test/opp-client bluez-5.43/test/bluezutils.py bluez-5.43/test/sap_client.py bluez-5.43/test/test-thermometer bluez-5.43/test/simple-player checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for C/C++ restrict keyword... __restrict checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether gcc accepts -fPIE... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for signalfd... yes checking for clock_gettime in -lrt... yes checking for pthread_create in -lpthread... yes checking for dlopen in -ldl... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking linux/if_alg.h usability... yes checking linux/if_alg.h presence... yes checking for linux/if_alg.h... yes checking for GLIB... yes checking for DBUS... yes checking D-Bus configuration directory... /etc checking D-Bus system bus services dir... /usr/share/dbus-1/system-services checking D-Bus session bus services dir... /usr/share/dbus-1/services checking for UDEV... yes checking for udev_hwdb_new in -ludev... yes checking udev directory... /lib/udev checking for ICAL... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking systemd system unit dir... /lib/systemd/system checking systemd user unit dir... /usr/lib/systemd/user checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/bluetoothd.8 config.status: creating lib/bluez.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/bnep.h GEN lib/bluetooth/cmtp.h GEN lib/bluetooth/hidp.h GEN src/builtin.h GEN obexd/src/builtin.h make --no-print-directory all-am CC tools/rfcomm.o CC tools/rctest.o CC tools/l2test.o CC tools/l2ping.o CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/bccmd.o CC tools/csr_hci.o CC tools/csr_usb.o CC tools/csr_h4.o CC tools/csr_3wire.o CC tools/csr_bcsp.o CC tools/ubcsp.o CC tools/bluemoon.o CC tools/hex2hcd.o CC tools/mpris-proxy.o CC profiles/input/bluetoothd-suspend-none.o CC profiles/scanparam/bluetoothd-scan.o CC profiles/deviceinfo/bluetoothd-deviceinfo.o CC src/bluetoothd-main.o CC src/bluetoothd-log.o CC src/bluetoothd-backtrace.o CC src/bluetoothd-systemd.o CC src/bluetoothd-rfkill.o CC src/bluetoothd-sdpd-server.o CC src/bluetoothd-sdpd-request.o CC src/bluetoothd-sdpd-service.o CC src/bluetoothd-sdpd-database.o CC src/bluetoothd-attrib-server.o CC src/bluetoothd-gatt-database.o CC src/bluetoothd-sdp-xml.o CC src/bluetoothd-sdp-client.o CC src/bluetoothd-textfile.o CC src/bluetoothd-uuid-helper.o CC src/bluetoothd-plugin.o CC src/bluetoothd-storage.o CC src/bluetoothd-advertising.o CC src/bluetoothd-agent.o CC src/bluetoothd-error.o CC src/bluetoothd-adapter.o CC src/bluetoothd-profile.o CC src/bluetoothd-service.o CC src/bluetoothd-gatt-client.o CC src/bluetoothd-device.o CC src/bluetoothd-dbus-common.o CC src/bluetoothd-eir.o GEN src/bluetooth.service CC btio/obexd-btio.o CC obexd/client/obexd-manager.o CC obexd/client/obexd-session.o CC obexd/client/obexd-bluetooth.o CC obexd/client/obexd-sync.o CC obexd/client/obexd-pbap.o CC obexd/client/obexd-ftp.o CC obexd/client/obexd-opp.o CC obexd/client/obexd-map.o CC obexd/client/obexd-map-event.o CC obexd/client/obexd-transfer.o CC obexd/client/obexd-transport.o CC obexd/client/obexd-dbus.o CC obexd/client/obexd-driver.o CC attrib/gatttool.o CC attrib/att.o CC attrib/gatt.o CC attrib/gattrib.o CC btio/btio.o CC attrib/interactive.o CC attrib/utils.o CC src/log.o CC tools/btmgmt.o CC src/uuid-helper.o CC gobex/gobex.o CC gobex/gobex-defs.o CC gobex/gobex-packet.o CC gobex/gobex-header.o CC gobex/gobex-transfer.o CC gobex/gobex-apparam.o CC tools/obex-client-tool.o CC tools/obex-server-tool.o CC tools/bluetooth-player.o CC tools/obexctl.o CC tools/hid2hci.o GEN tools/97-hid2hci.rules GEN obexd/src/obex.service CC lib/bluetooth.lo CC lib/hci.lo CC lib/sdp.lo CC lib/uuid.lo CC gdbus/mainloop.lo CC gdbus/watch.lo CC gdbus/object.lo CC gdbus/client.lo CC gdbus/polkit.lo CC src/shared/queue.lo CC src/shared/util.lo CC src/shared/mgmt.lo CC src/shared/crypto.lo CC src/shared/ecc.lo CC src/shared/ringbuf.lo CC src/shared/tester.lo CC src/shared/hci.lo CC src/shared/hci-crypto.lo CC src/shared/hfp.lo CC src/shared/uhid.lo CC src/shared/pcap.lo CC src/shared/btsnoop.lo CC src/shared/ad.lo CC src/shared/att.lo CC src/shared/gatt-helpers.lo CC src/shared/gatt-client.lo CC src/shared/gatt-server.lo CC src/shared/gatt-db.lo CC src/shared/gap.lo CC src/shared/io-glib.lo CC src/shared/timeout-glib.lo CC src/shared/io-mainloop.lo CC src/shared/timeout-mainloop.lo CC src/shared/mainloop.lo CC client/main.o CC client/display.o CC client/agent.o CC client/advertising.o CC client/gatt.o CC monitor/uuid.o CC monitor/main.o CC monitor/display.o CC monitor/hcidump.o CC monitor/ellisys.o CC monitor/control.o CC monitor/packet.o CC monitor/vendor.o CC monitor/lmp.o CC monitor/crc.o CC monitor/ll.o CC monitor/l2cap.o CC monitor/sdp.o CC monitor/avctp.o CC monitor/avdtp.o CC monitor/a2dp.o CC monitor/rfcomm.o CC monitor/bnep.o CC monitor/hwdb.o CC monitor/keys.o CC monitor/analyze.o CC monitor/intel.o CC monitor/broadcom.o CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciattach_ath3k.o CC tools/hciattach_qualcomm.o CC tools/hciattach_intel.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/csr.o CC tools/hcitool.o CC src/oui.o CC tools/hcidump.o CC tools/parser/parser.o CC tools/parser/lmp.o CC tools/parser/hci.o CC tools/parser/l2cap.o CC tools/parser/amp.o CC tools/parser/smp.o CC tools/parser/att.o CC tools/parser/sdp.o CC tools/parser/rfcomm.o CC tools/parser/bnep.o CC tools/parser/cmtp.o CC tools/parser/hidp.o CC tools/parser/hcrp.o CC tools/parser/avdtp.o CC tools/parser/avctp.o CC tools/parser/avrcp.o CC tools/parser/sap.o CC tools/parser/obex.o CC tools/parser/capi.o CC tools/parser/ppp.o CC tools/parser/tcpip.o CC tools/parser/ericsson.o CC tools/parser/csr.o CC tools/parser/bpa.o CCLD tools/hex2hcd CC profiles/cups/main.o CC profiles/cups/sdp.o CC profiles/cups/spp.o CC profiles/cups/hcrp.o CC plugins/bluetoothd-hostname.o CC plugins/bluetoothd-wiimote.o CC plugins/bluetoothd-autopair.o CC plugins/bluetoothd-policy.o CC profiles/audio/bluetoothd-source.o CC profiles/audio/bluetoothd-sink.o CC profiles/audio/bluetoothd-a2dp.o CC profiles/audio/bluetoothd-avdtp.o CC profiles/audio/bluetoothd-media.o CC profiles/audio/bluetoothd-transport.o CC profiles/audio/bluetoothd-control.o CC profiles/audio/bluetoothd-avctp.o CC profiles/audio/bluetoothd-avrcp.o CC profiles/audio/bluetoothd-player.o CC profiles/network/bluetoothd-manager.o CC profiles/network/bluetoothd-bnep.o CC profiles/network/bluetoothd-server.o CC profiles/network/bluetoothd-connection.o CC profiles/input/bluetoothd-manager.o CC profiles/input/bluetoothd-server.o CC profiles/input/bluetoothd-device.o CC profiles/input/bluetoothd-hog.o CC profiles/input/bluetoothd-hog-lib.o CC profiles/deviceinfo/bluetoothd-dis.o CC profiles/battery/bluetoothd-bas.o CC profiles/scanparam/bluetoothd-scpp.o CC profiles/gap/bluetoothd-gas.o CC attrib/bluetoothd-att.o CC attrib/bluetoothd-gatt.o CC attrib/bluetoothd-gattrib.o CC attrib/bluetoothd-gatt-service.o CC btio/bluetoothd-btio.o CC gobex/obexd-gobex.o CC gobex/obexd-gobex-defs.o CC gobex/obexd-gobex-packet.o CC gobex/obexd-gobex-header.o CC gobex/obexd-gobex-transfer.o CC gobex/obexd-gobex-apparam.o CC obexd/plugins/obexd-filesystem.o CC obexd/plugins/obexd-bluetooth.o CC obexd/plugins/obexd-opp.o CC obexd/plugins/obexd-ftp.o CC obexd/plugins/obexd-irmc.o CC obexd/plugins/obexd-pbap.o CC obexd/plugins/obexd-vcard.o CC obexd/plugins/obexd-phonebook-dummy.o CC obexd/plugins/obexd-mas.o CC obexd/plugins/obexd-messages-dummy.o CC obexd/client/obexd-mns.o CC obexd/src/obexd-main.o CC obexd/src/obexd-plugin.o CC obexd/src/obexd-log.o CC obexd/src/obexd-manager.o CC obexd/src/obexd-obex.o CC obexd/src/obexd-mimetype.o CC obexd/src/obexd-service.o CC obexd/src/obexd-transport.o CC obexd/src/obexd-server.o CCLD tools/hid2hci CCLD lib/libbluetooth-internal.la CCLD gdbus/libgdbus-internal.la ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') CCLD src/libshared-glib.la CCLD src/libshared-mainloop.la ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') CCLD client/bluetoothctl CCLD tools/hciattach CCLD tools/hciconfig CCLD tools/hcitool CCLD tools/hcidump CCLD tools/rfcomm CCLD tools/rctest CCLD tools/l2test CCLD tools/l2ping CCLD tools/sdptool CCLD tools/ciptool CCLD tools/bccmd CCLD tools/bluemoon CCLD tools/mpris-proxy CCLD profiles/cups/bluetooth CCLD src/bluetoothd CCLD obexd/src/obexd CCLD attrib/gatttool CCLD tools/btmgmt CCLD tools/obex-client-tool CCLD tools/obex-server-tool CCLD tools/bluetooth-player CCLD tools/obexctl CCLD monitor/btmon make --no-print-directory install-am /bin/mkdir -p '/usr/local/bin' /bin/bash ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/rctest tools/l2test tools/l2ping tools/sdptool tools/ciptool tools/bccmd tools/bluemoon tools/hex2hcd tools/mpris-proxy '/usr/local/bin' libtool: install: /usr/bin/install -c client/bluetoothctl /usr/local/bin/bluetoothctl libtool: install: /usr/bin/install -c monitor/btmon /usr/local/bin/btmon libtool: install: /usr/bin/install -c tools/hciattach /usr/local/bin/hciattach libtool: install: /usr/bin/install -c tools/hciconfig /usr/local/bin/hciconfig libtool: install: /usr/bin/install -c tools/hcitool /usr/local/bin/hcitool libtool: install: /usr/bin/install -c tools/hcidump /usr/local/bin/hcidump libtool: install: /usr/bin/install -c tools/rfcomm /usr/local/bin/rfcomm libtool: install: /usr/bin/install -c tools/rctest /usr/local/bin/rctest libtool: install: /usr/bin/install -c tools/l2test /usr/local/bin/l2test libtool: install: /usr/bin/install -c tools/l2ping /usr/local/bin/l2ping libtool: install: /usr/bin/install -c tools/sdptool /usr/local/bin/sdptool libtool: install: /usr/bin/install -c tools/ciptool /usr/local/bin/ciptool libtool: install: /usr/bin/install -c tools/bccmd /usr/local/bin/bccmd libtool: install: /usr/bin/install -c tools/bluemoon /usr/local/bin/bluemoon libtool: install: /usr/bin/install -c tools/hex2hcd /usr/local/bin/hex2hcd libtool: install: /usr/bin/install -c tools/mpris-proxy /usr/local/bin/mpris-proxy /bin/mkdir -p '/usr/local/libexec/bluetooth' /bin/bash ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd '/usr/local/libexec/bluetooth' libtool: install: /usr/bin/install -c src/bluetoothd /usr/local/libexec/bluetooth/bluetoothd libtool: install: /usr/bin/install -c obexd/src/obexd /usr/local/libexec/bluetooth/obexd /bin/mkdir -p '/usr/local/lib/cups/backend' /bin/bash ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/usr/local/lib/cups/backend' libtool: install: /usr/bin/install -c profiles/cups/bluetooth /usr/local/lib/cups/backend/bluetooth /bin/mkdir -p '/etc/dbus-1/system.d' /usr/bin/install -c -m 644 src/bluetooth.conf '/etc/dbus-1/system.d' /bin/mkdir -p '/usr/share/dbus-1/services' /usr/bin/install -c -m 644 obexd/src/org.bluez.obex.service '/usr/share/dbus-1/services' /bin/mkdir -p '/usr/share/dbus-1/system-services' /usr/bin/install -c -m 644 src/org.bluez.service '/usr/share/dbus-1/system-services' /bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1 tools/hid2hci.1 '/usr/local/share/man/man1' /bin/mkdir -p '/usr/local/share/man/man8' /usr/bin/install -c -m 644 src/bluetoothd.8 '/usr/local/share/man/man8' /bin/mkdir -p '/lib/udev/rules.d' /usr/bin/install -c -m 644 tools/97-hid2hci.rules '/lib/udev/rules.d' /bin/mkdir -p '/lib/systemd/system' /usr/bin/install -c -m 644 src/bluetooth.service '/lib/systemd/system' /bin/mkdir -p '/usr/lib/systemd/user' /usr/bin/install -c -m 644 obexd/src/obex.service '/usr/lib/systemd/user' /bin/mkdir -p '/lib/udev' /bin/bash ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/lib/udev' libtool: install: /usr/bin/install -c tools/hid2hci /lib/udev/hid2hci ```

Then:

$ sudo hciconfig hci0 up

So far so good, let's try running the example code again:

2017/08/10 16:58:27 Started discovery
discovery: &api.Device{Path:"/org/bluez/hci0/dev_**_**_**_**_**_**", Properties:(*profile.Device1Properties)(nil), client:(*profile.Device1)(0xc420180980), chars:map[dbus.ObjectPath]*profile.GattCharacteristic1(nil)}

I added a print here that shows the Device, and as you can see, the Properties field is nil.

Did the install work? I dunno if this is the right way to check, but:

$ bluetoothd -v
5.37

Uh oh, it should be 5.43.

$ dpkg --status bluez
Package: bluez
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 4119
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 5.37-0ubuntu5
Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input, bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
Breaks: udev (<< 170-1)
Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
Conffiles:
 /etc/bluetooth/input.conf 9f85017f861ac34d983fa76fa715f9c3
 /etc/bluetooth/main.conf 6123cc0548b077b77c99379f9b93b080
 /etc/bluetooth/network.conf 0c7497c405b963382ff71789d0730abd
 /etc/bluetooth/proximity.conf b75823a140e00905d41465c380bf89fe
 /etc/dbus-1/system.d/bluetooth.conf 2fd2de572a1221533e707d058e64e33a
 /etc/init.d/bluetooth 33ed7811d65a775cf10f04c2e6ee3cbf
 /etc/init/bluetooth.conf c7e11afe4581c8829a79a5ac8aa558b5
Description: Bluetooth tools and daemons
 This package contains tools and system daemons for using Bluetooth devices.
 .
 BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
 project distributed under GNU General Public License (GPL).
Homepage: http://www.bluez.org
Original-Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>

Yup, that's an older version. Hmmm.

$ /usr/local/libexec/bluetooth/bluetoothd -v
5.43

Oh, that one is the right version. Welllllll let's see:

$ sudo mv $(which bluetoothd) $(which bluetoothd)_bak
$ sudo ln -s /usr/local/libexec/bluetooth/bluetoothd /usr/sbin/bluetoothd
$ bluetoothd -v
5.43

Aha, okay, now it should be 5.43, right? I don't know, I probably am doing the wrong thing.

$ sudo systemctl daemon-reload
$ sudo service bluetooth restart
$ sudo hciconfig hci0 up

Trying again:

2017/08/10 17:07:00 Started discovery
discovery: &api.Device{Path:"/org/bluez/hci0/dev_**_**_**_**_**_**", Properties:(*profile.Device1Properties)(nil), client:(*profile.Device1)(0xc42000d120), chars:map[dbus.ObjectPath]*profile.GattCharacteristic1(nil)}

Properties field is still nil.

Any idea what I did wrong? :sweat_smile:

Edit: Oh, and I'm using the watch changes example, modified for the address of my own phone.

muka commented 7 years ago

Hey, sorry for the delay. Thank you for the detailed report!

On the install side it seems ok .. Can you try to add the -E (experimental) flag to bluez? You should find it in its systemd service file (somewhere under /etc/systemd/**) and restart the service In that way all the new GATT related features are avail, it may be missing in the docs

If you are using the watch changes example with no changes I guess it may not match the proper characteristic and services so may be a cause.

I would suggest to install the d-feet package to view the dbus exposed services. It will show you a list of interfaces, including the bluez one with all the devices found listed. On ubuntu you can use the bluetooth UI to scan for devices, afterwards the list in d-feet will be updated

Let me know

mholt commented 7 years ago

Thanks Muka. The only machine I have to test this on is already being used for something in our lab, so I'll have to wait until I have a chance to hack on it again to make it work. I'm not sure when that'll be. Sorry... We can close this until I have an opportunity to come back to this.

muka commented 7 years ago

Ok, thanks anyway. Best