From: Fred Schaettgen <Sch@ttgen.net>
To: bluez-users@lists.sourceforge.net
Cc: wim delvaux <wim.delvaux@adaptiveplanet.com>
Subject: Re: [Bluez-users] how to detect if a device is up.
Date: Mon, 6 Dec 2004 16:23:28 +0100 [thread overview]
Message-ID: <200412061623.29139.Sch@ttgen.net> (raw)
In-Reply-To: <200412061608.48387.wim.delvaux@adaptiveplanet.com>
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
prev parent reply other threads:[~2004-12-06 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412061623.29139.Sch@ttgen.net \
--to=sch@ttgen.net \
--cc=bluez-users@lists.sourceforge.net \
--cc=wim.delvaux@adaptiveplanet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox