Re: bluez dbus ble connection problem when a filter is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux