2006-03-15 04:02:14

by Sowmya Gattupalli

[permalink] [raw]
Subject: [Bluez-devel] initiating pairing

>
> Hi guys... I have tried initiate pairing... by switching to security mode
> 3... that is my linux box is askin my windows PC to give PIN number :
>
> but Iam gettin some error in my linux box
>
> [root@zin03uislnx-10 blue]# hcitool cc 11:11:11:11:11:11
> Can't create connection: Input/output error
>
> and I don't see the "paired" tick mark in My Bluetooth Places ...
>
> am i missing something???
>
> On 3/14/06, Sowmya Gattupalli <[email protected]> wrote:
> >
> > Hi all...
> >
> > Iam trying to use : sdptool browse and Iam getting the error
> > Service Search failed: Connection timed out
> >
> > (1)[root@zin03uislnx-10 blue]# sdptool browse 11:11:11:11:11:11
> > Browsing 11:11:11:11:11:11 ...
> > Service Search failed: Connection timed out
> >
> > I am trying out the thing from my Linux Box which has CSR chipset for
> > which there are Bluez drivers.
> > The bdaddr "11:11:11:11:11:11" is that of a dongle's (ISSC I guess)
> > which is connected to my Windows PC running on XP using the bluetooth s/w.
> >
> > Though Iam able to connect to it ... (the icon in the tray turns green)
> > but iam unable to do sdpsearch ...
> > ne ideas??
> >
> >
> > (2) Can I not initiate pairing from my linux box???
> > when i give hcitool cc 11:11:11:11:11:11 , the icon turns green thats
> > all....
> >
> > but when i pair from the windows machine, it gets paired... the hcidump
> > output is
> >
> > [root@zin03uislnx-10 blue]# hcidump -X -V
> > HCI sniffer - Bluetooth packet analyzer ver 1.29
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > > HCI Event: Connect Request (0x04) plen 10
> > bdaddr 11:11:11:11:11:11 class 0x320104 type ACL
> > < HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> > bdaddr 11:11:11:11:11:11 role 0x01
> > Role: Slave
> > > HCI Event: Command Status (0x0f) plen 4
> > Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 11:11:11:11:11:11
> > < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> > bdaddr 11:11:11:11:11:11 len 6 pin '123456'
> > > HCI Event: Command Complete (0x0e) plen 10
> > PIN Code Request Reply (0x01|0x000d) ncmd 1
> > status 0x00 bdaddr 11:11:11:11:11:11
> > < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> > bdaddr 11:11:11:11:11:11 len 6 pin '123456'
> > > HCI Event: Command Complete (0x0e) plen 10
> > PIN Code Request Reply (0x01|0x000d) ncmd 1
> > status 0x00 bdaddr 11:11:11:11:11:11
> > < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> > bdaddr 11:11:11:11:11:11 len 6 pin '123456'
> > > HCI Event: Command Complete (0x0e) plen 10
> > PIN Code Request Reply (0x01|0x000d) ncmd 1
> > status 0x00 bdaddr 11:11:11:11:11:11
> > < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> > bdaddr 11:11:11:11:11:11 len 6 pin '123456'
> > > HCI Event: Command Complete (0x0e) plen 10
> > PIN Code Request Reply (0x01|0x000d) ncmd 1
> > status 0x00 bdaddr 11:11:11:11:11:11
> > > HCI Event: Link Key Notification (0x18) plen 23
> > bdaddr 11:11:11:11:11:11 key C1C171F0606D4668886322A9E76698B2 type 0
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x00 handle 40 bdaddr 11:11:11:11:11:11 type ACL encrypt 0x00
> > < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> > handle 40 policy 0x0f
> > Link policy: RSWITCH HOLD SNIFF PARK
> > > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
> > bdaddr 11:11:11:11:11:11 mode 1
> > > HCI Event: Max Slots Change (0x1b) plen 3
> > handle 40 slots 5
> > > HCI Event: Command Complete (0x0e) plen 6
> > Write Link Policy Settings (0x02|0x000d) ncmd 1
> > status 0x00 handle 40
> > < HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> > handle 40 ptype 0xcc18
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
> > > HCI Event: Connection Packet Type Changed (0x1d) plen 5
> > status 0x00 handle 40 ptype 0xcc18
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Disconn Complete (0x05) plen 4
> > status 0x00 handle 40 reason 0x13
> > Reason: Remote User Terminated Connection
> >
> > Please help me in this problem....
> > Soumya
> >
> >
> >
>


Attachments:
(No filename) (4.27 kB)
(No filename) (5.34 kB)
Download all attachments