User avatar
0xFF
Posts: 202
Joined: Tue Nov 20, 2012 7:52 pm
Location: Poland

BLE gatttool stop working after apt-get upgrade

Wed Nov 11, 2015 11:02 am

Hello,
I installed bluez-5.36 from sources.With fresh Debian Jessie system, gatttool worked perfect.
After apt-get upgrade, following packages were upgraded:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libreoffice-base-drivers raspberrypi-ui-mods
The following packages will be upgraded:
  bluej dhcpcd5 fonts-opensymbol gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 krb5-locales libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libgssapi-krb5-2 libgtk-3-0 libgtk-3-bin libgtk-3-common libk5crypto3 libkrb5-3
  libkrb5support0 libreoffice-avmedia-backend-gstreamer libreoffice-java-common libreoffice-report-builder-bin
  libreoffice-style-galaxy libsasl2-2 libsasl2-modules libsasl2-modules-db libvdpau1 ntp python3-pgzero
  raspberrypi-net-mods raspi-config rc-gui uno-libs3 unzip ure
31 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 26.6 MB of archives.
After upgrade gatttool stop working:

Code: Select all

gatttool -I -b 20:C3:8F:E9:56:F1
[20:C3:8F:E9:56:F1][LE]> connect
Attempting to connect to 20:C3:8F:E9:56:F1
Error: connect: Connection refused (111)
No idea what is broken. gatttool can't connect to any BLE device.

Code: Select all

 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux

User avatar
0xFF
Posts: 202
Joined: Tue Nov 20, 2012 7:52 pm
Location: Poland

Re: BLE gatttool stop working after apt-get upgrade

Sun Nov 29, 2015 8:14 pm

No one? :(

Dany19
Posts: 1
Joined: Tue Dec 15, 2015 9:48 pm

Re: BLE gatttool stop working after apt-get upgrade

Tue Dec 15, 2015 9:52 pm

I have a same problem. I want to use a CSR 4.0 dongle with Sensirion Humigadget.
The BLE scan is works, but I can't connect.
Raspbian version is same, and bluez 5.36, too.

I tried everything, i have no more idea...

User avatar
0xFF
Posts: 202
Joined: Tue Nov 20, 2012 7:52 pm
Location: Poland

Re: BLE gatttool stop working after apt-get upgrade

Tue Dec 29, 2015 9:39 am

Code: Select all

 btmgmt le on
did the the trick for me ;-)

Return to “Troubleshooting”