Linux bluetooth development
 help / color / mirror / Atom feed
From: "Anthony Yulo" <strikewing16th@hotmail.com>
To: marcel@holtmann.org, bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] multiple connections on rfcomM?
Date: Fri, 12 Dec 2003 08:23:16 +0000	[thread overview]
Message-ID: <Law11-F23jdb5IBf53a00030f69@hotmail.com> (raw)

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

             reply	other threads:[~2003-12-12  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12  8:23 Anthony Yulo [this message]
2003-12-12  8:55 ` [Bluez-devel] multiple connections on rfcomM? Marcel Holtmann
2003-12-12 16:11   ` scott.meesseman
2003-12-12 18:32     ` Marcel Holtmann

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=Law11-F23jdb5IBf53a00030f69@hotmail.com \
    --to=strikewing16th@hotmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.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