init: initial commit

This commit is contained in:
2026-05-13 14:44:38 +02:00
commit 3fc50e797d
26 changed files with 4845 additions and 0 deletions
@@ -0,0 +1,14 @@
#pragma once
typedef enum {
LED_OFF,
LED_PROVISIONING, /* 200ms toggle — awaiting provisioning */
LED_CONNECTING, /* 1000ms toggle — connecting to WiFi/MQTT */
LED_SCANNING, /* solid on — normal BLE scanning */
LED_CALIBRATING, /* 500ms toggle — calibration in progress */
LED_SELECTED, /* triple-flash loop — physical identification */
LED_ERROR, /* 50ms rapid blink */
} led_state_t;
void led_indicator_init(void);
void led_indicator_set(led_state_t state);