From: Luiz Fernando Capitulino <lcapitulino@conectiva.com.br>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] RS232 Control Signals.
Date: Mon, 10 Jan 2005 11:49:54 -0200 [thread overview]
Message-ID: <41E28802.8040703@conectiva.com.br> (raw)
Hi there!
I'd like to know if the RS232 Control Signals are available when
using Bluetooth through Serial Emulation whith the rfcomm program.
I'm writing a program which should detect when a serial device
(which also suports bluetooth) is turned off. The program does its
job using an ioctl() call:
ioctl(fd, TIOCMGET, &status);
and then checking for the DSR signal.
It works as expected for the (true) serial port, but when I use
Bluetooth through Serial Emulation with the rfcomm program the signal
doesn't change its state, and my program fails.
Are the RS232 Control Signals available?
I'm using the kernel linux version 2.6.10, and the rfcomm program
from the bluez-utils-2.13.
I tryed the rfcomm program with the "bind" and "connect" options.
PS: Didn't find an answer for that question in the
Mailing List archieves.
TIA,
--
Luiz Fernando N. Capitulino
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2005-01-10 13:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-10 13:49 Luiz Fernando Capitulino [this message]
2005-01-10 16:19 ` [Bluez-users] RS232 Control Signals 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=41E28802.8040703@conectiva.com.br \
--to=lcapitulino@conectiva.com.br \
--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