Linux bluetooth development
 help / color / mirror / Atom feed
* Re: [Bluez-devel] multiple connections on rfcomM?
@ 2003-12-12  8:23 Anthony Yulo
  2003-12-12  8:55 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Yulo @ 2003-12-12  8:23 UTC (permalink / raw)
  To: marcel, bluez-devel

Hello..

i'd like to use C++, but are there any classes made already to encapsulate 
bluetooth functions? none yet ryt? i'll have to do classes myself but then 
again i'll still use C to do it...

aniwei, id like to low-level C more.. so its ok..

another question regarding this topic...
This is the set-up:
1st pda initiates connection to the desktop server.. and then remain 
connected for a while.. My Question is would the desktop server still be 
searchable/discoverable by other devices while its
connected to the 1st pda?

I tried to test this setup using WIDCOMM stack and used the API's in it...
First I launched the sample RFCOMM server program and then assigned an 
SCN... and then i connected the 1st pda using device/service discovery 
procedures...

Next I launched a new instance of that RFCOMM server program but this time 
with a different SCN... when a 2nd pda tries to search for the server, it 
doesn't find the server anymore..







>From: Marcel Holtmann <marcel@holtmann.org>
>To: Anthony Yulo <strikewing16th@hotmail.com>
>CC: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
>Subject: Re: [Bluez-devel] multiple connections on rfcomM?
>Date: Fri, 12 Dec 2003 04:35:06 +0100
>
>Hi Anthony,
>
> > so this project is very easy to do huh!!?!:)
> > how do i multiplex?, do i use fork()? select()? :)
>
>use what you like. I would prefer some kind of event loop, because it
>makes your code simpler, but even forking or poll()/select() is fine.
>
> > hehe... sorry for the silly questions, just a newbie in bluez, in socket
> > programming?
> > my background in c is not very deep.. i'm more familiar with C++.. so
> > sorry..:)
>
>You can use C++ if you like. I don't like C++, so I would never use it.
>
>Regards
>
>Marcel
>
>

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

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

end of thread, other threads:[~2003-12-12 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-12  8:23 [Bluez-devel] multiple connections on rfcomM? Anthony Yulo
2003-12-12  8:55 ` Marcel Holtmann
2003-12-12 16:11   ` scott.meesseman
2003-12-12 18:32     ` Marcel Holtmann

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