mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 15:12:19 +03:00
попытка использовать альтнрнативный метод поиска
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "Consts.h"
|
||||
#include "FileSystem.h"
|
||||
|
||||
@@ -44,6 +45,11 @@ const String writeFile(const String& filename, const String& str);
|
||||
*/
|
||||
const String readFile(const String& filename, size_t max_size);
|
||||
|
||||
/*
|
||||
* Чтение файла в строку с записью его размера
|
||||
*/
|
||||
const String readFileSz(const String& filename, size_t max_size, size_t& size);
|
||||
|
||||
/*
|
||||
* Размер файла
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,9 @@ String deleteToMarkerLast(String str, String found);
|
||||
|
||||
String selectFromMarkerToMarker(String str, String found, int number);
|
||||
|
||||
size_t itemsCount(String str, const String& separator);
|
||||
size_t itemsCount2(String& str, const String& separator);
|
||||
|
||||
size_t itemsCount(String& str, const char* delim);
|
||||
|
||||
boolean isDigitStr(const String&);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ class LoggingClass {
|
||||
~LoggingClass();
|
||||
|
||||
void loop();
|
||||
void execute(String payload);
|
||||
void execute(String keyOrValue);
|
||||
|
||||
private:
|
||||
|
||||
@@ -35,4 +35,5 @@ extern void logging();
|
||||
extern void loggingExecute();
|
||||
extern void choose_log_date_and_send();
|
||||
extern void sendLogData(String file, String topic);
|
||||
extern void sendLogData2(String file, String topic);
|
||||
extern void cleanLogAndData();
|
||||
|
||||
Reference in New Issue
Block a user