ср, 12 дек. 2018 г. в 13:06, Carsten Haitzler <ras...@rasterman.com>:
> well my experience with bluez is that you have to go into scan mode to get 
> rssi
> values and you don't always get rssi values for all bt devices. only some of
> them. l2ping is a cmdline tool to ping bt devices. not all devices connect
> automatically and connecting them has "consequences" (e.g. a mouse or kbd will
> make them input devices when connected or audio devices may become output
> targets for audio). the problem is that i can't find any PASSIVE way to detect
> a bt device is present (within range of the bt adapter) other than actively
> pinging it. this unfortunately means polling wakeups for every possible 
> "unlock
> bt device" just to do this (e.g. with l2ping). so rssi isn't the way to go
> IMHO. you need to actively ping... :(
>

As i know , bluetooth able to discover undiscoverable devices,
http://permalink.gmane.org/gmane.linux.bluez.kernel/67662
but simply not returns it
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/src/adapter.c#n6094
--
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru


_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to