Return-Path: MIME-Version: 1.0 In-Reply-To: <3290BB41-234F-4D7B-BF37-0CC2966CB416@gmail.com> References: <4CF902B9-8221-45E7-9868-52BF18A5EC5D@gmail.com> <969738CC-B335-4E2F-BF3C-441110279871@gmail.com> <4AE62BC6-BD11-44C7-9A0E-BC3159ED80DF@gmail.com> <4C907B25-D8E4-462C-89FA-AB312A27CBE9@gmail.com> <5CDE162E-4828-4485-BF95-50C67DB93B77@gmail.com> <758C2FAB-DBF1-4B88-866D-F036B23B3C95@gmail.com> <3290BB41-234F-4D7B-BF37-0CC2966CB416@gmail.com> From: Luiz Augusto von Dentz Date: Thu, 25 May 2017 11:32:53 +0300 Message-ID: Subject: Re: How to use GattProfile1 To: Krasi Georgiev Cc: Barry Byford <31baz66@gmail.com>, Bluez mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Krasi, On Thu, May 25, 2017 at 11:13 AM, Krasi Georgiev wro= te: > Hm=E2=80=A6 > The first I checked is the kernel and it is 4.4 so not sure why it behave= s like this then > Linux r1 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux > > This is Raspbian, but the distro shouldn=E2=80=99t matter > > did you watch the video minute 24 > https://youtu.be/VMDyebKT5c4?t=3D1439 > > Does bluetoothctl creates this gat object mentioned in the video ? > If I understand correctly bluetoothd won=E2=80=99t try to reconnect witho= ut it. It doesn't create, though usually it is not required if other profiles match, still it is a good idea to register the profile properly, you can check bluetoothd logs when you register it shall print something in the logs. Regarding the kernel, 4.4 should definitely have auto connect feature, does or perhaps Raspbain is using some backport? Btw, you could try running in a traditional distro like ubuntu or fedora. --=20 Luiz Augusto von Dentz