public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] hcitool scan problems....
@ 2004-11-24 19:43 Michael Frey
  2004-11-24 21:48 ` Marcel Holtmann
  2004-11-25  8:29 ` Diego Liziero
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Frey @ 2004-11-24 19:43 UTC (permalink / raw)
  To: BlueZ Mailing List

I am currently seeing strange behavior while doing "scans".

It takes me several scans to see the devices I have in range.  Also,  
sometimes when I issue "hcitool scan" it does not even scan.  It just 
stops immediately after printing "Scanning ...".

Can anyone explain this?

Michael



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] hcitool scan problems....
  2004-11-24 19:43 [Bluez-devel] hcitool scan problems Michael Frey
@ 2004-11-24 21:48 ` Marcel Holtmann
  2004-11-29 15:42   ` Michael Frey
  2004-11-25  8:29 ` Diego Liziero
  1 sibling, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-11-24 21:48 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Michael,

> I am currently seeing strange behavior while doing "scans".
> 
> It takes me several scans to see the devices I have in range.  Also,  
> sometimes when I issue "hcitool scan" it does not even scan.  It just 
> stops immediately after printing "Scanning ...".

what kernel version is this? Try it with --flush.

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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] hcitool scan problems....
  2004-11-24 19:43 [Bluez-devel] hcitool scan problems Michael Frey
  2004-11-24 21:48 ` Marcel Holtmann
@ 2004-11-25  8:29 ` Diego Liziero
  1 sibling, 0 replies; 4+ messages in thread
From: Diego Liziero @ 2004-11-25  8:29 UTC (permalink / raw)
  To: bluez-devel

On Wed, 2004-11-24 at 14:43 -0500, Michael Frey wrote:
> I am currently seeing strange behavior while doing "scans".
> 
> It takes me several scans to see the devices I have in range.  Also,  
> sometimes when I issue "hcitool scan" it does not even scan.  It just 
> stops immediately after printing "Scanning ...".
> 
> Can anyone explain this?
Maybe,
the default option is to search other bluetooth devices
for 8 windows (about 10 seconds).

Try to wait 10 seconds or decrease the scanning length
with option --length=how_many_win_to_use_for_searching

When you see the devices printed immediately,
it could be because they are discovered during the first
window, or because they are already in the cache,
due to a previous scan.

Regards,
-- 
Diego Liziero <diego.liziero@unimore.it>



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] hcitool scan problems....
  2004-11-24 21:48 ` Marcel Holtmann
@ 2004-11-29 15:42   ` Michael Frey
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Frey @ 2004-11-29 15:42 UTC (permalink / raw)
  To: bluez-devel

Thanks for the help.  The --scan helps.

I am using kernel 2.4.20

Michael

On Nov 24, 2004, at 4:48 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> I am currently seeing strange behavior while doing "scans".
>>
>> It takes me several scans to see the devices I have in range.  Also,
>> sometimes when I issue "hcitool scan" it does not even scan.  It just
>> stops immediately after printing "Scanning ...".
>
> what kernel version is this? Try it with --flush.
>
> 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://productguide.itmanagersjournal.com/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-11-29 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-24 19:43 [Bluez-devel] hcitool scan problems Michael Frey
2004-11-24 21:48 ` Marcel Holtmann
2004-11-29 15:42   ` Michael Frey
2004-11-25  8:29 ` Diego Liziero

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