Return-Path: Message-Id: From: Johan Hedberg To: BlueZ users In-Reply-To: Mime-Version: 1.0 (Apple Message framework v926) Date: Tue, 8 Jul 2008 20:37:59 +0300 References: Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Host is down Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Bram, On Jul 8, 2008, at 20:19, Bram Jansen wrote: > Can anyone please point me in the right direction about why after > the above steps I only see the following line when I type > > rfcomm show rfcomm0 > > I get the result > rfcomm0: 01:00:00:00:00:00 channel 1 clean > > and not > rfcomm0: channel 1 clean That's because (as the man-page states) the parameters to rfcomm bind are: rfcomm bind Where is the number of the device node you want to use (e.g. 0 for rfcomm0). If you give the command as you do the rfcomm tool will interpret your bdaddr as the device node number (atoi(00:...") will yield 0) and 1 as the remote address (which is why you see "01:00:...") and use the channel 1 which is the default when no channel has been specified. Johan ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users