SC-F001 way better logging and parameters. not integrated yet but.

This commit is contained in:
Thaddeus Hughes
2025-12-13 10:57:09 -06:00
commit ac030005c3
505 changed files with 174645 additions and 0 deletions

33
main/filemgmt.h Normal file
View File

@@ -0,0 +1,33 @@
/*
* filemgmt.h
*
* Created on: Nov 20, 2025
* Author: Thad
*/
#ifndef MAIN_FILEMGMT_H_
#define MAIN_FILEMGMT_H_
#include "esp_err.h"
#define ESP_WIFI_AP_SSID "stockcropper"
#define ESP_WIFI_AP_PASSWORD ""
#define ESP_WIFI_AP_N_CONNECTIONS 4
// Open the filesystem (e.g. for logging)
esp_err_t start_filesystem();
// Start WiFi AP and FTP Server
esp_err_t start_ftp_server();
void stop_filesystem();
void stop_ftp_server();
void file_log();
void close_current_log();
void start_new_log_file();
#endif /* MAIN_FILEMGMT_H_ */