From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 4 18:06:09 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7D63106564A for ; Tue, 4 Nov 2008 18:06:09 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp01.one2one.net (smtp01.one2one.net [149.254.200.196]) by mx1.freebsd.org (Postfix) with ESMTP id E72298FC12 for ; Tue, 4 Nov 2008 18:06:07 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from [127.0.0.1] (helo=localhost) by smtpbarns01 with esmtp (Exim 4.50) id 1KxQHw-0005Pj-OG; Tue, 04 Nov 2008 18:06:00 +0000 Received: from smtpbarns01 ([127.0.0.1]) by localhost (smtpbarns01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20700-04; Tue, 4 Nov 2008 18:06:00 +0000 (GMT) Received: from [10.36.9.3] (helo=rya-online.net) by smtpbarns01 with smtp (Exim 4.50) id 1KxQHq-0005Pe-TE; Tue, 04 Nov 2008 18:06:00 +0000 Received: (nullmailer pid 644 invoked by uid 1000); Tue, 04 Nov 2008 17:54:24 -0000 Date: Tue, 4 Nov 2008 17:54:23 +0000 (GMT) To: Guido Falsi In-Reply-To: <20081104135107.GA64776@megatron.madpilot.net> References: <20081104111947.GB62907@megatron.madpilot.net> <1225799105.807983.1164.nullmailer@galant.ukfsn.org> <20081104135107.GA64776@megatron.madpilot.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1225821264.107584.759.nullmailer@galant.ukfsn.org> From: Iain Hibbert X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at example.com X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: plunky@rya-online.net X-SA-Exim-Scanned: No (on smtpbarns01); SAEximRunCond expanded to false Cc: freebsd-bluetooth@freebsd.org Subject: Re: RFComm behaviour with nokia mobiles X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 18:06:09 -0000 On Tue, 4 Nov 2008, Guido Falsi wrote: > On Tue, Nov 04, 2008 at 11:45:05AM +0000, Iain Hibbert wrote: > > On Tue, 4 Nov 2008, Guido Falsi wrote: > > > > > I completed the gnokii adaption to talk to freebsd sdp and it tries > > > to connwect to rf channel 15 on both phnes, the same rfcomm_sppd > > > tries. It loooks like the correct one in fact, but even after > > > associating the phone with hcsecd I can't really connect. > > > > can you show what the output of sdpcontrol is when examining this service? > > > > (try search for protocol 0x0003 should give all RFCOMM channels) > > I'm attaching the output from the 6233. > > The problem is not finding the channel, but that the only channel which > looks correct is not acting the way it should(ie. accept at commands...) btw my 6103 also has similar ports on similar channels: Record Handle: 0x00010000 Service Class ID List: Dial-Up Networking (0x1103) Generic Networking (0x1201) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 1 Bluetooth Profile Descriptor List: Dial-Up Networking (0x1103) ver. 1.0 Service Name: "Dial-up networking" Record Handle: 0x00010001 Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 15 Service Name: "Nokia PC Suite" Record Handle: 0x00010002 Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 3 Service Name: "COM 1" and I see that connecting to DUN gives me an AT command interpreter as does SP on 3 (COM 1) but connecting to the SP on 15 (Nokia PC Suite) doesn't. Thats using NetBSD though the program is not much different. can you connect to channel 1 (Dialup Networking) with rfcomm_sppd? That should definitely take AT commands.. btw, didn't you say before that gnokii is supposed to be discarding "Nokia PC Suite" ? (actually, that was why I added the "Service Name" handling, so I could see what my phone had :) iain