RFComm behaviour with nokia mobiles
Guido Falsi
mad at madpilot.net
Tue Nov 4 12:56:12 PST 2008
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 at madpilot.net>
More information about the freebsd-bluetooth
mailing list