rfcomm command output
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
Signature · 18 lines
----------------------------------------------- It is not by improving the oil lamp that one invents the electric bulb! ----------------------------------------------- Danis Frederic PalmSource Europe Software engineer Mail : mailto:[email protected] ----------------------------------------------- ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Fred,
Quoted 8 lines · Frederic Danis
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hello Peter,
Quoted 17 lines · Peter Wippich
Hi Fred,
Quoted 10 lines · Frederic Danis
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 ?
Quoted 3 lines
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:[email protected]
-----------------------------------------------
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel