2026-09-11 10:19:50 +02:00
|
|
|
#ifndef HTTP_ROUTES_H
|
|
|
|
|
#define HTTP_ROUTES_H
|
|
|
|
|
|
|
|
|
|
esp_err_t ygg_get_temp_handler(httpd_req_t *req);
|
|
|
|
|
|
|
|
|
|
extern const httpd_uri_t ygg_temp_uri;
|
2026-09-11 13:34:55 +02:00
|
|
|
extern const httpd_uri_t ygg_press_uri;
|
|
|
|
|
extern const httpd_uri_t ygg_hum_uri;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
const char *param_name;
|
|
|
|
|
float *param_val;
|
|
|
|
|
} ygg_http_user_ctx;
|
2026-09-11 10:19:50 +02:00
|
|
|
|
|
|
|
|
#endif
|