/* * The simulated rig, served by the host build (desktop and sim-controller): the page at /sim/, where every * LED bar is the C++ led-driver built to WebAssembly (sim-driver/), and the "browser" bridge that carries the * controller's ESP-NOW frames to those drivers over the page's WebSocket. Rooms and each bar's flash are kept * under /sim/. */ #pragma once #include "esp_err.h" #include "esp_http_server.h" // Register /sim, /sim/ws, /sim/api/* and /sim/* (call before any catch-all handler) esp_err_t sim_rig_register(httpd_handle_t server);