linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Service Search failed: Connection timed out
@ 2006-03-14 11:41 Sowmya Gattupalli
  2006-03-15  4:02 ` Sowmya Gattupalli
  2006-03-17 12:59 ` Marcel Holtmann
  0 siblings, 2 replies; 5+ messages in thread
From: Sowmya Gattupalli @ 2006-03-14 11:41 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 3628 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4394 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bluez-users] Service Search failed: Connection timed out
  2006-03-14 11:41 [Bluez-users] Service Search failed: Connection timed out Sowmya Gattupalli
@ 2006-03-15  4:02 ` Sowmya Gattupalli
  2006-03-17 12:59 ` Marcel Holtmann
  1 sibling, 0 replies; 5+ messages in thread
From: Sowmya Gattupalli @ 2006-03-15  4:02 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 3802 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4594 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Service Search failed: Connection timed out
  2006-03-14 11:41 [Bluez-users] Service Search failed: Connection timed out Sowmya Gattupalli
  2006-03-15  4:02 ` Sowmya Gattupalli
@ 2006-03-17 12:59 ` Marcel Holtmann
  2006-03-17 13:04   ` CIJOML
  1 sibling, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2006-03-17 12:59 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Service Search failed: Connection timed out
  2006-03-17 12:59 ` Marcel Holtmann
@ 2006-03-17 13:04   ` CIJOML
  2006-03-17 13:11     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: CIJOML @ 2006-03-17 13:04 UTC (permalink / raw)
  To: bluez-users

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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Service Search failed: Connection timed out
  2006-03-17 13:04   ` CIJOML
@ 2006-03-17 13:11     ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2006-03-17 13:11 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-17 13:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 11:41 [Bluez-users] Service Search failed: Connection timed out Sowmya Gattupalli
2006-03-15  4:02 ` Sowmya Gattupalli
2006-03-17 12:59 ` Marcel Holtmann
2006-03-17 13:04   ` CIJOML
2006-03-17 13:11     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).