Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2008 21:56:06 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        Iain Hibbert <plunky@rya-online.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: RFComm behaviour with nokia mobiles
Message-ID:  <4910B6E6.7070206@madpilot.net>
In-Reply-To: <1225821264.107584.759.nullmailer@galant.ukfsn.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4910B6E6.7070206>