2006-03-14 11:41:55

by Sowmya Gattupalli

[permalink] [raw]
Subject: [Bluez-users] Service Search failed: Connection timed out

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) (3.46 kB)
(No filename) (4.28 kB)
Download all attachments

2006-03-17 13:11:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Service Search failed: Connection timed out

Hi Michal,

> why don't you add check directly to the hcid to check this for example via
> lock file?

if you use D-Bus we have this kinda lock already. However it is broken
in the latest versions and we just fixed it recently.

Regards

Marcel




-------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-03-17 13:04:26

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Service Search failed: Connection timed out

Hi Marcel,

why don't you add check directly to the hcid to check this for example via=
=20
lock file?

Michal

Dne p=E1 17. b=F8ezna 2006 13:59 Marcel Holtmann napsal(a):
> Hi Sowmya,
>
> > 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....
>
> you have multiple hcid running. Make sure only one hcid is running at a
> time.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
> 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=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-03-17 12:59:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Service Search failed: Connection timed out

Hi Sowmya,

> 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....

you have multiple hcid running. Make sure only one hcid is running at a
time.

Regards

Marcel




-------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-03-15 04:02:54

by Sowmya Gattupalli

[permalink] [raw]
Subject: [Bluez-users] Service Search failed: Connection timed out

>
> 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) (3.62 kB)
(No filename) (4.46 kB)
Download all attachments