Files
MTGcompanion/main/web_server.h

28 lines
497 B
C

/*
* MTG RFID Companion - Registration web server (SoftAP)
*
* Phase 6: Hosts the SoftAP "MTG-Companion" (192.168.4.1) and serves the
* card-pairing SPA plus /api/last_uid and /api/bind endpoints.
*/
#pragma once
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Start the SoftAP and HTTP server. Idempotent.
*/
esp_err_t web_server_start(void);
/**
* @brief True if the HTTP server is running.
*/
bool web_server_is_running(void);
#ifdef __cplusplus
}
#endif