public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bluez-devel] build #314 failed for 2.6.23-rc6-g577107e in linux/net/bluetooth/hci_sock.c
       [not found] <200709121104.43419.toralf.foerster@gmx.de>
@ 2007-09-12 16:23 ` Marcel Holtmann
  2007-09-13 15:24   ` [Bluez-devel] What can I do in parallel Matthias Becker
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Holtmann @ 2007-09-12 16:23 UTC (permalink / raw)
  To: Toralf Förster; +Cc: bluez-devel

Hi Toralf,

> the build with the attached .config failed, make ends with:
> ...
>   CC      net/bluetooth/hci_conn.o
>   CC      net/bluetooth/hci_event.o
>   CC      net/bluetooth/hci_sock.o
> net/bluetooth/hci_sock.c: In function 'hci_sock_cmsg':
> net/bluetooth/hci_sock.c:352: error: storage size of 'ctv' isn't known
> net/bluetooth/hci_sock.c:352: warning: unused variable 'ctv'
> make[2]: *** [net/bluetooth/hci_sock.o] Error 1
> make[1]: *** [net/bluetooth] Error 2
> make: *** [net] Error 2

patch for that is floating around the kernel mailing list. It is
COMPAT_CONFIG issue and fully my fault.

Regards

Marcel



-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bluez-devel]  What can I do in parallel
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Becker @ 2007-09-13 15:24 UTC (permalink / raw)
  To: BlueZ development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-13 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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   ` [Bluez-devel] What can I do in parallel Matthias Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox