On Tue, Mar 8, 2011 at 10:21 PM, Mehmet Yildirim
<yildirimmehme...@gmail.com> wrote:
> Hi,
>
> I am trying to ping from my android phone to another bt device, which
> is a bt headset. I want to ping continuosly the known mac addresses of
> several headsets, after that I want to create events within my
> application, when some of the headsets are in range.

why not try measure rssi strength of these bd addresses via hcitool?
That way you would be able to define your threshold rssi for what you
feel is "in range" condition ...l2ping would never let you have such
control....

>
> Under system/bin I cannot find any l2ping executable. The file is not
> existing. My android version is 2.2 and I dont have a root access. Do
> I need root access to just execute l2ping?

I think l2ping should be under usr/sbin/  but you should rely on a
grep in your root fs on phone. You don't need to be root to run l2ping
or similar bluez tools ...HTH ...

Thanks,
Arun
www.crazydaks.com

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to