Return-Path: Subject: Re: [Bluez-users] RS232 Control Signals. From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: <41E28802.8040703@conectiva.com.br> References: <41E28802.8040703@conectiva.com.br> Content-Type: text/plain Message-Id: <1105373995.8652.34.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 10 Jan 2005 17:19:55 +0100 Hi Luiz, > 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 think they are missing. However feel free to send a patch for the kernel that implements support for it. Regards Marcel ------------------------------------------------------- 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