src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/include/event_queue.h
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-12 11:56:07 -0600
committerLuke Hoersten <[email protected]>2021-03-12 11:56:07 -0600
commitc6d3d96ed6a659f7a3c1f616caebe325a3d139bd (patch)
tree470016b10b16e31a8190da4fb769725b6bd9898a /main/include/event_queue.h
parent2d08f681e6e53b71a295b0ab05155f4315fea76f (diff)
Broke out services into their own files.
Diffstat (limited to 'main/include/event_queue.h')
-rw-r--r--main/include/event_queue.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/include/event_queue.h b/main/include/event_queue.h
new file mode 100644
index 0000000..c101c36
--- /dev/null
+++ b/main/include/event_queue.h
@@ -0,0 +1,31 @@
+#include <stdio.h>
+#include <string.h>
+#include <freertos/FreeRTOS.h>
+#include <freertos/task.h>
+#include <freertos/timers.h>
+#include <freertos/queue.h>
+#include <esp_log.h>
+#include <driver/gpio.h>
+#include <driver/adc.h>
+
+#include <hap.h>
+
+#include <hap_apple_servs.h>
+#include <hap_apple_chars.h>
+
+#include <app_wifi.h>
+#include <app_hap_setup_payload.h>
+
+static const char *TAG = "HAP Intercom";
+
+void intercom_event_queue_bell_ring();
+
+void intercom_event_queue_lock_unsecure();
+
+void intercom_event_queue_lock_secure();
+
+void intercom_event_queue_lock_timeout();
+
+void intercom_event_queue_run();
+
+bool intercom_event_queue_init();