public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthias Becker <matthias.becker@beyondsoft.de>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel]  What can I do in parallel
Date: Thu, 13 Sep 2007 17:24:11 +0200	[thread overview]
Message-ID: <1189697051.4067.19.camel@matthias.BEYONDSOFT.local> (raw)
In-Reply-To: <1189614213.12789.59.camel@aeonflux.holtmann.net>

Hi,

I write an aplication that is intended to push a file to all surrounding
mobilephones. So it performs an inquiry scan and than starts threads for
all recived addresses to push the file.

But I need to know what is allowed to do in parallel. 

(I know that I can't read multiple names via hci_read_remote_name. But I
don't need those names anyway.)

To push the file I need to get the OBEX push channel. Can I do multiple
SDP requests over one bluetooth adapter at the same time?

hcidump shows me that SDP seems to perform a name reuest. Why is this?

(an excerpt from hcidump while a call to "sdptool browse
00:19:63:9D:09:16":
...
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr 00:19:63:9D:09:16 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 12 slots 5
> ACL data: handle 12 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 0
      Connection pending - No futher information available
> HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 00:19:63:9D:09:16 name 'K800i'
...
)

Than I need to do the OBEX stuff (using OpenOBEX
BtOBEX_TransportConnect, ...).

If I can do things in parallel how many can be performed in parallel per
bluetooth adapter? I read something about bluetooth allows 7 active
connections and 255 passive connections, but I'm not sure what that
meens.



Thanks in advance

-- Matthias


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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:[~2007-09-13 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200709121104.43419.toralf.foerster@gmx.de>
2007-09-12 16:23 ` [Bluez-devel] build #314 failed for 2.6.23-rc6-g577107e in linux/net/bluetooth/hci_sock.c Marcel Holtmann
2007-09-13 15:24   ` Matthias Becker [this message]

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=1189697051.4067.19.camel@matthias.BEYONDSOFT.local \
    --to=matthias.becker@beyondsoft.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox