Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 17:54:23 +0000 (GMT)
From:      Iain Hibbert <plunky@rya-online.net>
To:        Guido Falsi <mad@madpilot.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: RFComm behaviour with nokia mobiles
Message-ID:  <1225821264.107584.759.nullmailer@galant.ukfsn.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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