#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);