src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/include/lock.h
blob: aca9b670da325b70bbae30dbcbc63cd1693c7d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <freertos/FreeRTOS.h>
#include <freertos/timers.h>
#include <hap.h>

void intercom_lock_unsecure();

void intercom_lock_secure();

void intercom_lock_timeout();

int intercom_lock_write_cb(hap_write_data_t write_data[], int count, void *serv_priv, void *write_priv);

void intercom_lock_timer_cb(TimerHandle_t timer);

void intercom_lock_gpio_init();

hap_serv_t *intercom_lock_init();