All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Naranjo <manuel@aircable.net>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] CreateBonding while periodic scanning
Date: Sun, 10 Feb 2008 23:49:27 -0200	[thread overview]
Message-ID: <47AFA9A7.3030100@aircable.net> (raw)

Hello List,

As I asked in the forums I'm trying to create a bonding to a device
while I'm running a periodic scanning.

Thing is that for some reason hcid is blocking me to do this, and Marcel
suggested removing the periodic inquiry check. But as he said, and I
think the same, that check was created for a reason.

The line that makes the conflict is this one (utils/hcid/adapter.c:

static DBusHandlerResult adapter_create_bonding(DBusConnection *conn,
                                                DBusMessage *msg, void
*data)
.....

if (adapter->discov_active || (adapter->pdiscov_active &&
!adapter->pinq_idle))
return error_discover_in_progress(conn, msg)

pinq_idle is 0 in my case, so then I get a discovery in progress exception.

Marcel suggested that I change the code to "if (adapter->discov_active
)" but still we would like to know what that check is made, so we can
get a better solution.

Thanks,
Manuel Naranjo
Wireless Cables Inc.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2008-02-11  1:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11  1:49 Manuel Naranjo [this message]
2008-02-11  2:09 ` [Bluez-devel] CreateBonding while periodic scanning Manuel Naranjo
2008-03-03 12:52   ` Manuel Naranjo

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=47AFA9A7.3030100@aircable.net \
    --to=manuel@aircable.net \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.