From: "Xavier GARREAU" <x.garreau@prim-time.fr>
To: <maca02@atlas.cz>, <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] problems pairing with Nokia 3650
Date: Mon, 15 Sep 2003 21:27:17 +0200 [thread overview]
Message-ID: <002801c37bbf$60443a80$0201a8c0@zazoumobile> (raw)
In-Reply-To: Pine.LNX.4.55.0309152052130.4567@maca.fortech.cz
> > HCI Event: Connect Request(0x04) plen 10
> < HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Connect Complete(0x03) plen 11
> > HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> < HCI Command: Change Connection Packet Type(0x01|0x000f) plen 4
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Connection Packet Type Changed(0x1d) plen 5
> > ACL data: handle 0x0029 flags 0x02 dlen 12
> L2CAP(s): Connect req: psm 1 scid 0x0045
> < ACL data: handle 0x0029 flags 0x02 dlen 16
> L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0045 result 2
> status 0 > HCI Event: Number of Completed Packets(0x13) plen 5
> > HCI Event: Max Slots Change(0x1b) plen 3
> > HCI Event: Disconn Complete(0x05) plen 4
This behaviour is strange but, it seems that your phones are trying to
establish a sdp connection (connection request psm 1 over L2CAP). Your
device answers "no" to it (dcid=0 and result=2) so the sdp connection fails
and so goes the pairing.
To what i know, pairing should not be done this way. First a key request
should occur and you have to answer with a pin code request reply. Then,
only when the pairing is ok the remote device should browse your sdp server.
I build some apps dealing with bluetooth and a home made minimal windows
stack with the sony ericsson P800 which does it this way. That's hopeful,
since i haven't had the time to code sdp till now...
Coming back to your problem, try to launch sdpd but don't advert any service
and let us know ...
BR,
Xavier Garreau
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2003-09-15 19:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 16:58 [Bluez-users] problems pairing with Nokia 3650 Jiri Prazak
2003-09-15 18:55 ` maca02
2003-09-15 19:21 ` Fredrik Hallga*rde
2003-09-15 19:27 ` Xavier GARREAU [this message]
2003-09-17 19:04 ` maca02
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002801c37bbf$60443a80$0201a8c0@zazoumobile' \
--to=x.garreau@prim-time.fr \
--cc=bluez-users@lists.sourceforge.net \
--cc=maca02@atlas.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox