From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 4 20:56:12 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 2B3D2106564A for ; Tue, 4 Nov 2008 20:56:12 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id BC5B48FC20 for ; Tue, 4 Nov 2008 20:56:11 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from localhost (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 3D6D7130C08; Tue, 4 Nov 2008 21:56:10 +0100 (CET) X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by localhost (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RY3wCwBgIUzO; Tue, 4 Nov 2008 21:56:06 +0100 (CET) Received: from anakin.madpilot.net (anakin.madpilot.net [172.24.42.10]) by megatron.madpilot.net (Postfix) with ESMTP; Tue, 4 Nov 2008 21:56:06 +0100 (CET) Message-ID: <4910B6E6.7070206@madpilot.net> Date: Tue, 04 Nov 2008 21:56:06 +0100 From: Guido Falsi User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: Iain Hibbert References: <20081104111947.GB62907@megatron.madpilot.net> <1225799105.807983.1164.nullmailer@galant.ukfsn.org> <20081104135107.GA64776@megatron.madpilot.net> <1225821264.107584.759.nullmailer@galant.ukfsn.org> In-Reply-To: <1225821264.107584.759.nullmailer@galant.ukfsn.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 20:56:12 -0000 Iain Hibbert wrote: > On Tue, 4 Nov 2008, Guido Falsi wrote: > > > 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. Yes, My code is doing a similar thing, but should just return the correct rfchannel. I've not been using C for some time though and got bitten by a stupid error(2 uninitialized variables). Now it's skipping channels it should skip. > > can you connect to channel 1 (Dialup Networking) with rfcomm_sppd? That > should definitely take AT commands.. Ok, I got it to work, but I had to make rfcomm_sppd attach the line to a tty and the use cu on that tty. Most probably my terminal emulator lacks some knowledge and rfcomm_sppd is making no translation. I was getting just echo of whatever I wrote. > > 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 :) > As I said, that was my mistake. Anyway I thank you a lot because you gave me the idea where to look for mistakes. I should be able to get gnokii to work now. Thank you a lot again! -- Guido Falsi