On Tue, 2011-02-08 at 14:28 +0100, Petr Jakeš wrote:
> 
>         If the above snippet fails, make sure that the utilities
>         shipped with
>         fprintd (fprintd-list, etc.) work as expected.
>         
> Thanks for the hint. It looks working now.
> I am able to call: Claim("petr"), EnrollStart("right-index-finger"),
> EnrollStop(), Release()
> 
> But I am lost how to connect to the signals and how to read them

My Python D-Bus is rubbish, but this should help:
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#receiving-signals

Basically

def signalReceived():
        print "Signal Received"

bus.add_signal_receiver(signalReceived,
                        dbus_interface="net.reactivated.fprint",
                        signal_name="mySignal")


_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to