Return-Path: From: Vinicius Costa Gomes To: =?utf-8?B?SGFra8SxIEfDtsOnZW/En2x1?= , linux-bluetooth@vger.kernel.org Subject: Re: bluez dbus ble connection problem when a filter is set In-Reply-To: References: Date: Fri, 06 May 2016 18:54:05 -0300 Message-ID: <8737pug8ea.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi hakkig, Hakkı Göçeoğlu writes: > Hi All, > > raspberry pi 3 > bluez v5.39 > testing platform client/bluetoothctl Which kernel version are you running? > > I have a ble peripheral device advertising a custom uuid. > Within bluetoothctl when I try to connect to it after a filter is set, > one third of the time I get an error. > There is no problem if no filter is set, turning scanning off before > the connect command does not help. > > Here is an example flow within bluetoothctl > > [bluetooth]# set-scan-filter-uuids f655b638-fead-4268-b07c-e5d79d09b22b > SetDiscoveryFilter success > [bluetooth]# scan on > Discovery started > [CHG] Controller B8:27:EB:37:3F:CD Discovering: yes > [NEW] Device CF:05:30:F2:6F:5E CF-05-30-F2-6F-5E > [bluetooth]# connect CF:05:30:F2:6F:5E > Attempting to connect to CF:05:30:F2:6F:5E > [CHG] Device CF:05:30:F2:6F:5E Connected: yes > Failed to connect: org.bluez.Error.Failed > [CHG] Device CF:05:30:F2:6F:5E Connected: no I couldn't reproduce this, can you provide the btmon output when this happens? > > > Any ideas? Thanks in advance, cheers > > hakkig > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Cheers, -- Vinicius