Return-Path: Message-ID: From: "Sowmya Gattupalli" To: Bluez-devel@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1972_15603676.1142395334754" References: Subject: [Bluez-devel] initiating pairing Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 15 Mar 2006 09:32:14 +0530 ------=_Part_1972_15603676.1142395334754 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > 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 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 0x0= 0 > > < 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 > > > > > > > ------=_Part_1972_15603676.1142395334754 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi guys... I have tried initiate pairing... by switc= hing 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@zin= 03uislnx-10 blue]# hcitool cc 11:11:11:11:11:11
Can't create connection: Input/output error

 and I don't se= e the "paired" tick mark in My Bluetooth Places ...

am i = missing something???

On 3/14/06, Sowmya Gattupalli <so= wmya.gattupalli@gmail.com> wrote:
Hi all...

Iam trying to use : sdptoo= l browse and Iam getting the error
Service Search failed: Connection ti= med 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 dri= vers.
The bdaddr "11:11:11:11:11:11" is that of a dongle's (ISSC I guess) w= hich 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)&n= bsp; but iam unable to do sdpsearch ...
ne ideas??


(2) Can = I not initiate pairing from my linux box???=20
when i give hcitool cc 11:11:11:11:11:11 , the icon turns green thats a= ll....=20

but when i pair from the windows machine, it gets paired... the hci= dump output is

[root@zin03uislnx-10 blue]# hcidump -X -V
HCI snif= fer - Bluetooth packet analyzer ver 1.29
device: hci0 snap_len: 1028 fil= ter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
    bd= addr 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
    Acce= pt Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: P= IN Code Request (0x16) plen 6
    bdaddr 11:11:11:11:11:1= 1
< 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 R= equest 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 R= equest 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 R= equest 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 R= equest 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 C1C171F0606D4668886322A= 9E76698B2 type 0
> HCI Event: Connect Complete (0x03) plen 11
&nbs= p;   status 0x00 handle 40 bdaddr 11:11:11:11:11:11 type ACL encr= ypt 0x00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen= 4
    handle 40 policy 0x0f
    Link pol= icy: RSWITCH HOLD SNIFF PARK
> HCI Event: Page Scan Repetition Mode C= hange (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 Complet= e (0x0e) plen 6
    Write Link Policy Settings (0x02|0x00= 0d) 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
  &n= bsp; Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Disconn Comple= te (0x05) plen 4
    status 0x00 handle 40 reason 0x13    Reason: Remote User Terminated Connection

Please help me in this problem....
Soumya




------=_Part_1972_15603676.1142395334754-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel