All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Danis <frederic.danis@palmsource.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] rfcomm command output
Date: Wed, 02 Aug 2006 18:45:09 +0200	[thread overview]
Message-ID: <44D0D695.6060709@palmsource.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0608021833340.6321@redbean.intranet.gw-instruments.de>

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

      reply	other threads:[~2006-08-02 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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=44D0D695.6060709@palmsource.com \
    --to=frederic.danis@palmsource.com \
    --cc=bluez-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.