From: Davide Rizzo <rizzo@eidosspa.it>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Re: How to emulate slave serial ports ?
Date: Wed, 10 Nov 2004 14:34:46 +0000 (UTC) [thread overview]
Message-ID: <loom.20041110T153147-263@post.gmane.org> (raw)
In-Reply-To: 1100094365.10067.2.camel@notepaq
Marcel Holtmann <marcel <at> holtmann.org> writes:
>
> Hi Davide,
>
> > I solved (almost) all problems !
>
> no it is not. This is only a workaround. Change your program to use a
> socket descriptor instead of a TTY descriptor and handle the incoming
> connection request and the SDP service registration by yourself.
>
> > The only problem is that rfcomm exits when windows closes the connection,
> > so I need to run it again to be ready to listen for the next connection.
> > But this is a minor problem, I'll investigate in the rfcomm code to get the
> > parts I need, so I'll be able also to understand if the connection is on or
> > not.
>
> As I said, it is only a workaround.
>
> Regards
>
> Marcel
Hi Marcel,
You're absolutely right.
I'll use the socket interface instead of /dev/rfcomm0, it's much more flexible
and powerful.
Thank you again,
Davide
All difficult problems have a simple solution.
That is wrong.
(A. Einstein)
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users/listinfo/bluez-users
prev parent reply other threads:[~2004-11-10 14:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 17:16 [Bluez-users] How to emulate slave serial ports ? Rizzo Davide
2004-11-09 18:13 ` Marcel Holtmann
2004-11-10 8:28 ` [Bluez-users] " Davide Rizzo
2004-11-10 9:18 ` Marcel Holtmann
2004-11-10 9:51 ` Davide Rizzo
2004-11-10 9:59 ` Marcel Holtmann
2004-11-10 12:17 ` Davide Rizzo
2004-11-10 13:46 ` Marcel Holtmann
2004-11-10 14:34 ` Davide Rizzo [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=loom.20041110T153147-263@post.gmane.org \
--to=rizzo@eidosspa.it \
--cc=bluez-users@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