Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] l2ping and timeout
Date: Sun, 29 May 2005 20:09:17 +0200	[thread overview]
Message-ID: <1117390157.7072.98.camel@pegasus> (raw)
In-Reply-To: <4299F497.5080608@egabriel.de>

Hi Ligi,

> I am confused about l2ping. The man says:
>            -c count
>               Send count number of packets then exit.
> 
>            -c timeout
>               Wait timeout for the response.

no it does not.

> I need it to determine if a device is in range or out of range or off.
> If anyone has even an better Idea than l2ping this would help me too.
> A fast response when the Device is in range would be cool cuz the
> early my light switches on the less I stumble ...

Use the periodic inquiry feature of Bluetooth through the HCI raw socket
for this.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-05-29 18:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 15:09 [Bluez-devel] Problem to connect hci as non-root Frederic Danis
2005-05-26 15:20 ` Marcel Holtmann
2005-05-26 15:33   ` Frederic Danis
2005-05-26 15:43     ` Marcel Holtmann
2005-05-26 16:48       ` Frederic Danis
2005-05-26 17:02         ` Marcel Holtmann
2005-05-29 16:57 ` [Bluez-devel] l2ping and timeout ligi
2005-05-29 18:09   ` Marcel Holtmann [this message]
2005-05-29 19:12     ` ligi

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=1117390157.7072.98.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /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