add some classes for movement set handling

This commit is contained in:
superkor
2026-01-13 03:55:49 -05:00
parent 2e06217a5b
commit ace2c5a544
11 changed files with 263 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
#ifndef MOVEMENTS
#define MOVEMENTS
#include "nvs_flash.h"
#define MOVEMENTS_NVS_NAMESPACE "movements"
#define MOVEMENTS_NVS_KEY "key"
#define MOVEMENTS_NVS_TOPOLOGY_KEY "topology"
#define MOVEMENTS_DEBUG_TAG "movements"
class MovementManager {
public:
MovementManager();
~MovementManager();
esp_err_t get_movement_status();
private:
nvs_handle_t handle = 0;
esp_err_t status = ESP_ERR_INVALID_STATE;
};
#endif //MOVEMENTS