public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] how to detect if a device is up.
@ 2004-12-06 15:08 wim delvaux
  2004-12-06 15:19 ` Marcel Holtmann
  2004-12-06 15:23 ` Fred Schaettgen
  0 siblings, 2 replies; 3+ messages in thread
From: wim delvaux @ 2004-12-06 15:08 UTC (permalink / raw)
  To: bluez-users

suppose you manage a list of 'seen' but not necessarily paired devices.
How can you figure out if a certain device is UP or not ?
l2ping apparently not since you need to be paired with that device or else you 
get permission denied

W


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

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

* Re: [Bluez-users] how to detect if a device is up.
  2004-12-06 15:08 [Bluez-users] how to detect if a device is up wim delvaux
@ 2004-12-06 15:19 ` Marcel Holtmann
  2004-12-06 15:23 ` Fred Schaettgen
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-12-06 15:19 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Wim,

> suppose you manage a list of 'seen' but not necessarily paired devices.
> How can you figure out if a certain device is UP or not ?

for remote device you have to page them.

> l2ping apparently not since you need to be paired with that device or else you 
> get permission denied

This is only true is the remote device uses security mode 3.

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

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

* Re: [Bluez-users] how to detect if a device is up.
  2004-12-06 15:08 [Bluez-users] how to detect if a device is up wim delvaux
  2004-12-06 15:19 ` Marcel Holtmann
@ 2004-12-06 15:23 ` Fred Schaettgen
  1 sibling, 0 replies; 3+ messages in thread
From: Fred Schaettgen @ 2004-12-06 15:23 UTC (permalink / raw)
  To: bluez-users; +Cc: wim delvaux

On Monday 06 December 2004 16:08, wim delvaux wrote:
> suppose you manage a list of 'seen' but not necessarily paired devices.
> How can you figure out if a certain device is UP or not ?
> l2ping apparently not since you need to be paired with that device or else
> you get permission denied

How about an inquiry? You can also use name requests for instance. We use this 
in kdebluetooth for the device discovery service to poll undiscoverable 
devices. But you can't do that frequently and for a lot of devices of course. 
Apart from that, if you get "permission denied" with l2ping, then the device 
*is* reachable, isn't it?

Fred

-- 
Fred Schaettgen
Sch@ttgen.net


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

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

end of thread, other threads:[~2004-12-06 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 15:08 [Bluez-users] how to detect if a device is up wim delvaux
2004-12-06 15:19 ` Marcel Holtmann
2004-12-06 15:23 ` Fred Schaettgen

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