Hi, pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux would you need additional info? On Sat, May 7, 2016 at 12:54 AM, Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx> wrote: > Hi hakkig, > > Hakkı Göçeoğlu <hakki@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > Cheers, > -- > Vinicius -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html