Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 19:16:07 +0000 (GMT)
From:      Iain Hibbert <plunky@rya-online.net>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: RFComm behaviour with nokia mobiles
Message-ID:  <1225826167.716196.1082.nullmailer@galant.ukfsn.org>
In-Reply-To: <bb4a86c70811041017g7b6822fej492caa56157fada3@mail.gmail.com>
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> <bb4a86c70811041017g7b6822fej492caa56157fada3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1376276759-1225825929=:881
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.NEB.4.64.0811041912171.881@localhost.>

On Tue, 4 Nov 2008, Maksim Yevmenkin wrote:

> could you please run hcidump and see what is going on after you
> connect to the "pc suite" service. some (most/simbian-based?)  nokia
> phones have some sort of the callback mechanism, i.e. pc suite
> connects to the phone service and then immediately disconnects. this
> somehow tells the phone to initiate connection back to the pc on
> serial port service. rfcomm_pppd(8) man page has a little notes on
> that.

It doesn't seem to do that here (dump attached), though its not a symbian
phone. The phone enables encryption and accepts the RFCOMM connection to
channel 15 (dlci 30), then sends some credits and waits. If I send any
data (in this case, pressed return 0x0d) then it disconnects.  I left it a
short while but it didn't try to connect back so I don't know what Nokia
PC Suite service actually would like to hear..

I think the SP service required by Guido might be channel 3 in this case.

iain

--0-1376276759-1225825929=:881
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=hcidump.txt
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.64.0811041912090.881@localhost.>
Content-Description: connecting to Nokia PC Suite serial port service
Content-Dispos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gICBMMkNBUChzKTog
RGlzY29ubiByc3A6IGRjaWQgMHgwMDQyIHNjaWQgMHgwMDQwDQo+IEhDSSBF
dmVudDogTnVtYmVyIG9mIENvbXBsZXRlZCBQYWNrZXRzICgweDEzKSBwbGVu
IDUNCiAgICBoYW5kbGUgNDUgcGFja2V0cyAxDQo+IEhDSSBFdmVudDogTnVt
YmVyIG9mIENvbXBsZXRlZCBQYWNrZXRzICgweDEzKSBwbGVuIDUNCiAgICBo
YW5kbGUgNDUgcGFja2V0cyAxDQo+IEFDTCBkYXRhOiBoYW5kbGUgNDUgZmxh
Z3MgMHgwMiBkbGVuIDEyDQogICAgTDJDQVAocyk6IERpc2Nvbm4gcnNwOiBk
Y2lkIDB4MDA0MCBzY2lkIDB4MDA0Mg0KPCBIQ0kgQ29tbWFuZDogRGlzY29u
bmVjdCAoMHgwMXwweDAwMDYpIHBsZW4gMw0KICAgIGhhbmRsZSA0NSByZWFz
b24gMHgxMw0KICAgIFJlYXNvbjogUmVtb3RlIFVzZXIgVGVybWluYXRlZCBD
b25uZWN0aW9uDQo+IEhDSSBFdmVudDogQ29tbWFuZCBTdGF0dXMgKDB4MGYp
IHBsZW4gNA0KICAgIERpc2Nvbm5lY3QgKDB4MDF8MHgwMDA2KSBzdGF0dXMg
MHgwMCBuY21kIDENCj4gSENJIEV2ZW50OiBEaXNjb25uIENvbXBsZXRlICgw
eDA1KSBwbGVuIDQNCiAgICBzdGF0dXMgMHgwMCBoYW5kbGUgNDUgcmVhc29u
IDB4MTYNCiAgICBSZWFzb246IENvbm5lY3Rpb24gVGVybWluYXRlZCBieSBM
b2NhbCBIb3N0DQo=

--0-1376276759-1225825929=:881--



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