Linux bluetooth development
 help / color / mirror / Atom feed
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: "Hakkı Göçeoğlu" <hakki@bir618.com>, linux-bluetooth@vger.kernel.org
Subject: Re: bluez dbus ble connection problem when a filter is set
Date: Fri, 06 May 2016 18:54:05 -0300	[thread overview]
Message-ID: <8737pug8ea.fsf@intel.com> (raw)
In-Reply-To: <CADrC6Gxef2A=EsVLxG-izD4xBKvrBW85wOzybuZCrr-OL52VSw@mail.gmail.com>

Hi hakkig,

Hakkı Göçeoğlu <hakki@bir618.com> 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

  reply	other threads:[~2016-05-06 21:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737pug8ea.fsf@intel.com \
    --to=vinicius.gomes@intel.com \
    --cc=hakki@bir618.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox