RFComm behaviour with nokia mobiles

Iain Hibbert plunky at rya-online.net
Tue Nov 4 10:06:09 PST 2008


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


More information about the freebsd-bluetooth mailing list