Linux bluetooth development
 help / color / mirror / Atom feed
* bluez dbus ble connection problem when a filter is set
@ 2016-04-23  7:19 Hakkı Göçeoğlu
  2016-05-06 21:54 ` Vinicius Costa Gomes
  0 siblings, 1 reply; 7+ messages in thread
From: Hakkı Göçeoğlu @ 2016-04-23  7:19 UTC (permalink / raw)
  To: linux-bluetooth

Hi All,

raspberry pi 3
bluez v5.39
testing platform client/bluetoothctl

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


Any ideas? Thanks in advance, cheers

hakkig

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-18  5:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-23  7:19 bluez dbus ble connection problem when a filter is set Hakkı Göçeoğlu
2016-05-06 21:54 ` Vinicius Costa Gomes
2016-05-07  4:58   ` Hakkı Göçeoğlu
2016-05-07  5:12   ` Hakkı Göçeoğlu
2016-05-17 13:57     ` Hakkı Göçeoğlu
2016-05-17 18:59       ` Vinicius Costa Gomes
2016-05-18  5:51         ` Hakkı Göçeoğlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox