Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] hcitool scan question
       [not found] <20050211111140.64497886BC@sc8-sf-spam1.sourceforge.net>
@ 2005-02-11 11:35 ` Jack Jia
  2005-02-11 12:03   ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Jia @ 2005-02-11 11:35 UTC (permalink / raw)
  To: bluez-users

Hi there,

I am running hciemu. hciconfig shows VHCI devices up and running and I can 
l2ping the devices, but when I do hcitool scan I get the following:

# hcitool scan
Scanning ...
Inquiry failed: Connection timed out

hcidump shows the following:

# hcidump -i hci0 -V
HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Inquiry (0x01|0x0001) plen 5
> HCI Event: Command Complete (0x0e) plen 4
     Inquiry (0x01|0x0001) ncmd 1

Could you give me some ideas about what I should do to make the scan 
working? Can I achieve that with VHCI devices? hcidump shows hci0 is doing 
the job, but the scan doesn't show it.

Regards,
Jack

By the way, my hciconfigure shows the following:

# hciconfig -a
hci0:   Type: VHCI
         BD Address: 7F:00:00:01:00:0A ACL MTU: 192:8 SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:0 acl:11 sco:0 events:36 errors:0
         TX bytes:870 acl:13 sco:0 commands:26 errors:0
         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
         Link policy: RSWITCH HOLD SNIFF PARK
         Link mode: SLAVE ACCEPT
         Name: 'BlueZ (0)'
         Class: 0x3e0100
         Service Classes: Networking, Rendering, Capturing
         Device Class: Computer, Uncategorized
         HCI Ver: 1.1 (0x1) HCI Rev: 0x0 LMP Ver: 1.1 (0x1) LMP Subver: 0x0
         Manufacturer: Qualcomm (29)

hci1:   Type: VHCI
         BD Address: 7F:00:00:01:00:0B ACL MTU: 192:8 SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:0 acl:11 sco:0 events:25 errors:0
         TX bytes:735 acl:11 sco:0 commands:19 errors:0
         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
         Link policy: RSWITCH HOLD SNIFF PARK
         Link mode: SLAVE ACCEPT
         Name: 'BlueZ (1)'
         Class: 0x3e0100
         Service Classes: Networking, Rendering, Capturing
         Device Class: Computer, Uncategorized
         HCI Ver: 1.1 (0x1) HCI Rev: 0x0 LMP Ver: 1.1 (0x1) LMP Subver: 0x0
         Manufacturer: Qualcomm (29)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] hcitool scan question
  2005-02-11 11:35 ` [Bluez-users] hcitool scan question Jack Jia
@ 2005-02-11 12:03   ` Marcel Holtmann
  2005-02-12 14:52     ` [Bluez-users] pand and sdp packages question Jack Jia
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-02-11 12:03 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Jack,

> I am running hciemu. hciconfig shows VHCI devices up and running and I can 
> l2ping the devices, but when I do hcitool scan I get the following:
> 
> # hcitool scan
> Scanning ...
> Inquiry failed: Connection timed out
> 
> hcidump shows the following:
> 
> # hcidump -i hci0 -V
> HCI sniffer - Bluetooth packet analyzer ver 1.17
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Inquiry (0x01|0x0001) plen 5
> > HCI Event: Command Complete (0x0e) plen 4
>      Inquiry (0x01|0x0001) ncmd 1
> 
> Could you give me some ideas about what I should do to make the scan 
> working? Can I achieve that with VHCI devices? hcidump shows hci0 is doing 
> the job, but the scan doesn't show it.

the inquiry is not supported by the hciemu. Get yourself a pair of real
Bluetooth devices.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] pand and sdp packages question
  2005-02-11 12:03   ` Marcel Holtmann
@ 2005-02-12 14:52     ` Jack Jia
  2005-02-12 14:58       ` Michal Semler
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Jia @ 2005-02-12 14:52 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Marcel,

In HOWTO-PAN, "BlueZ-SDP 0.7" and "BlueZ-PAN 1.0" are required. Is it true 
that these two packages were already moved to BlueZ-UTIL in the current 
version of BlueZ?

Regards,

Jack



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] pand and sdp packages question
  2005-02-12 14:52     ` [Bluez-users] pand and sdp packages question Jack Jia
@ 2005-02-12 14:58       ` Michal Semler
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Semler @ 2005-02-12 14:58 UTC (permalink / raw)
  To: bluez-users

Dne so 12. =FAnora 2005 15:52 Jack Jia napsal(a):
> Hi Marcel,
>
> In HOWTO-PAN, "BlueZ-SDP 0.7" and "BlueZ-PAN 1.0" are required. Is it true
> that these two packages were already moved to BlueZ-UTIL in the current
> version of BlueZ?

yes

>
> Regards,
>
> Jack
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users

=2D-=20
S pozdravem

Michal Semler


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-02-12 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050211111140.64497886BC@sc8-sf-spam1.sourceforge.net>
2005-02-11 11:35 ` [Bluez-users] hcitool scan question Jack Jia
2005-02-11 12:03   ` Marcel Holtmann
2005-02-12 14:52     ` [Bluez-users] pand and sdp packages question Jack Jia
2005-02-12 14:58       ` Michal Semler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox