stm32-fmt-code/access_control_python/access_control_mqtt.py

24 lines
399 B
Python
Raw Normal View History

2023-11-06 06:53:10 +00:00
import paho.mqtt.client as mqtt
BASE_TOPIC = "/facescan"
class access_control:
def __init__(self, serial_port: str):
pass
def light_on(self):
pass
def light_off(self):
pass
def get_door_state(self) -> bool:
pass
def get_scan_state(self) -> bool:
pass
def lock_door(self):
pass
def unlock_door(self):
pass