Thread (5 messages) 5 messages, 4 authors, 2003-09-17

Re: [Bluez-users] problems pairing with Nokia 3650

From: <hidden>
Date: 2003-09-17 19:04:08

Coming back to your problem, try to launch sdpd but don't advert any service
and let us know .
How to run the sdpd without adverting any service?


On Mon, 15 Sep 2003, Xavier GARREAU wrote:
quoted
quoted
HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
quoted
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
quoted
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
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help