#pragma once

#include "esp_event.h"

ESP_EVENT_DECLARE_BASE(BUZZER_EVENTS);

typedef enum {
    BUZZER_EVENT_PLAY_PATTERN,
} buzzer_event_id_t;

typedef enum {
    BUZZER_PATTERN_NONE = 0,
    BUZZER_PATTERN_PLUGGED,
    BUZZER_PATTERN_UNPLUGGED,
    BUZZER_PATTERN_CHARGING,
    BUZZER_PATTERN_AP_START,
    BUZZER_PATTERN_CARD_READ,
    BUZZER_PATTERN_CARD_ADD,
    BUZZER_PATTERN_CARD_DENIED,
    BUZZER_PATTERN_FAULT,
    BUZZER_PATTERN_MAX
} buzzer_pattern_id_t;


typedef struct {
    buzzer_pattern_id_t pattern;
} buzzer_event_data_t;
