All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Bluetoooth and Threads?
@ 2004-01-09  3:38 Anthony Yulo
  2004-01-09 13:38 ` Nils Faerber
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Yulo @ 2004-01-09  3:38 UTC (permalink / raw)
  To: bluez-devel, blueinfo

Hi!

I'm just wondering if multiple threads can have their own bluetooth stack?

I'm planning of a single program that uses threads, one thread does only 
device discovery.. and then store the devices on a list/queue.. and then 
maybe a couple of threads that reads from  the queue and send data from the 
devices on the queue using RFCOMM.. maybe i can have seven threads since 
this is the maximum number bluetooth allows...

is this possible?

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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

* Re: [Bluez-devel] Bluetoooth and Threads?
  2004-01-09  3:38 [Bluez-devel] Bluetoooth and Threads? Anthony Yulo
@ 2004-01-09 13:38 ` Nils Faerber
  0 siblings, 0 replies; 2+ messages in thread
From: Nils Faerber @ 2004-01-09 13:38 UTC (permalink / raw)
  To: Anthony Yulo; +Cc: bluez-devel, blueinfo

Am Fr, den 09.01.2004 schrieb Anthony Yulo um 04:38:
> Hi!
Hi!

> I'm just wondering if multiple threads can have their own bluetooth stack?

Errrmm... several *stacks* ??
Do you use several IP stacks for several IP connections??
I don't...

> I'm planning of a single program that uses threads, one thread does only 
> device discovery.. and then store the devices on a list/queue.. and then 
> maybe a couple of threads that reads from  the queue and send data from the 
> devices on the queue using RFCOMM.. maybe i can have seven threads since 
> this is the maximum number bluetooth allows...
> is this possible?

Sure, perfectly possible.
You simply open the appropriate sockets in each thread and that's it.
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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:[~2004-01-09 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09  3:38 [Bluez-devel] Bluetoooth and Threads? Anthony Yulo
2004-01-09 13:38 ` Nils Faerber

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.