сб, 15 дек. 2018 г. в 15:57, Carsten Haitzler <ras...@rasterman.com>:
>
> On Fri, 14 Dec 2018 16:17:04 +0300 Vasiliy Tolstov <v.tols...@selfip.ru> said:
>
> > ср, 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
>
> well hmmm that's mysterious. need to remove discovery filter i guess... but it
> seems it isn't working for me here with bluez - method not found... so can't
> test.
>

Does it possible to add some button to unlock screen to run external
unlock program?
For example for this case like bluetooth, not always scan in
background and unlock if device is near pc, but only scan when you
click button and run external predefined command?

-- 
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