* [Bluez-devel] rfcomm command output
@ 2006-08-02 16:24 Frederic Danis
2006-08-02 16:35 ` Peter Wippich
0 siblings, 1 reply; 3+ messages in thread
From: Frederic Danis @ 2006-08-02 16:24 UTC (permalink / raw)
To: BlueZ development
Hello
I want to use rfcomm command and start a program when a connection is
made. To do this I try "rfcomm listen 0 > rfcomm.log 2>&1" but nothing
is written to rfcomm.log file. (same problem happens if I try to pipe
output to another program). Do you have any idea why I can not redirect
rfcomm output ?
Is there another way to start a program on rfcomm connection ?
Thanks
Fred
--
-----------------------------------------------
It is not by improving the oil lamp that one invents the electric bulb!
-----------------------------------------------
Danis Frederic PalmSource Europe
Software engineer
Mail : mailto:frederic.danis@palmsource.com
-----------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] rfcomm command output
2006-08-02 16:24 [Bluez-devel] rfcomm command output Frederic Danis
@ 2006-08-02 16:35 ` Peter Wippich
2006-08-02 16:45 ` Frederic Danis
0 siblings, 1 reply; 3+ messages in thread
From: Peter Wippich @ 2006-08-02 16:35 UTC (permalink / raw)
To: BlueZ development
Hi Fred,
On Wed, 2 Aug 2006, Frederic Danis wrote:
> Hello
>
> I want to use rfcomm command and start a program when a connection is
> made. To do this I try "rfcomm listen 0 > rfcomm.log 2>&1" but nothing
> is written to rfcomm.log file. (same problem happens if I try to pipe
> output to another program). Do you have any idea why I can not redirect
> rfcomm output ?
> Is there another way to start a program on rfcomm connection ?
You have to give a device (e.g. /dev/rfcomm0) on which you want to listen.
Ciao,
Peter
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] rfcomm command output
2006-08-02 16:35 ` Peter Wippich
@ 2006-08-02 16:45 ` Frederic Danis
0 siblings, 0 replies; 3+ messages in thread
From: Frederic Danis @ 2006-08-02 16:45 UTC (permalink / raw)
To: BlueZ development
Hello Peter,
Peter Wippich wrote:
>Hi Fred,
>
>On Wed, 2 Aug 2006, Frederic Danis wrote:
>
>
>
>>Hello
>>
>>I want to use rfcomm command and start a program when a connection is
>>made. To do this I try "rfcomm listen 0 > rfcomm.log 2>&1" but nothing
>>is written to rfcomm.log file. (same problem happens if I try to pipe
>>output to another program). Do you have any idea why I can not redirect
>>rfcomm output ?
>>Is there another way to start a program on rfcomm connection ?
>>
>>
>
>You have to give a device (e.g. /dev/rfcomm0) on which you want to listen.
>
>
I understand that "rfcomm listen 0" will create /dev/rfcomm0 when a
client connects to my device, but I want to start my program (that can
use a device like /dev/rfcomm0 or /dev/ttyS0) after this creation (and
don't know how to do this in a shell).
Thanks
Fred
-----------------------------------------------
It is not by improving the oil lamp that one invents the electric bulb!
-----------------------------------------------
Danis Frederic PalmSource Europe
Software engineer
Mail : mailto:frederic.danis@palmsource.com
-----------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-02 16:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 16:24 [Bluez-devel] rfcomm command output Frederic Danis
2006-08-02 16:35 ` Peter Wippich
2006-08-02 16:45 ` Frederic Danis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).