public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Fabrizio Scarcello <fabrition@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Specify hci device for sdp
Date: Tue, 19 May 2009 10:41:02 +0200	[thread overview]
Message-ID: <d1e337030905190141j2ddeef24l63745c7239a7212@mail.gmail.com> (raw)

Hi,
I have to search for a service using sdptool (i'm using bluez3 on
debian), but i need to specify the hci channel to use in that sdp
request (this because i need to do many sdp requests and i want to
perform them on different hci channels).
As from sdptool man :

sdptool - SDP tool v3.36
Usage:
sdptool [options] <command> [command parameters]
Options:
-h Display help
-i Specify source interface

using the option -i i can specify the source interface. But in fact i
can only specify -i 0: even if i mounted four bluetooth dongles to the
pc, when i specify -i 1, -i 2 and so on i've got the following output
(where a mac address is in the place of XX...):
Failed to connect to SDP server on XX:XX:XX:XX:XX: No route to host

Another strange observation: if i specify hci1 in the -i option it
works, but it works also with hci7, hci8 and so on... it seems to
ignore the -i option if i write hciX (but it doesn't throw en
error...)

I tried to browse the web but i find nothing...

Now my questions are:
Is that "source interface" the hci channel?
If yes: why it doesn't accept all the available hci channels, but only 0?
If not: how can i specify the hci channel?
Thanks in advance,
greetings,
Fabris.

                 reply	other threads:[~2009-05-19  8:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=d1e337030905190141j2ddeef24l63745c7239a7212@mail.gmail.com \
    --to=fabrition@gmail.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