blob: d26a222f2fca346c4de0172fc4a65ce3125de606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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);
hap_serv_t *intercom_lock_init(uint32_t key_gpio_pin);
|