python-validity/proto9x/init.py
Viktor Dragomiretskyy 7f14da61a8 A few things.
- automatically locate supported usb device
- prototype will call reboot() on exit
- enroll() & identify() are now async
- dbus service rewriten to use standard dbus.service
- use own simplified DBus interface for backend comms
2020-07-07 02:22:43 +12:00

16 lines
289 B
Python

from proto9x.usb import usb
from proto9x.tls import tls
from proto9x.sensor import sensor
from proto9x.flash import read_tls_flash
from usb import core as usb_core
def open():
usb.open()
usb.send_init()
tls.parseTlsFlash(read_tls_flash())
tls.open()
sensor.open()