новая система отправки файла в сокеты

This commit is contained in:
Dmitry Borisenko
2022-01-21 17:34:11 +01:00
parent 90c35e3a36
commit 6318fb4af0
7 changed files with 259 additions and 11 deletions

View File

@@ -13,6 +13,7 @@ void SendJson::addFileToQueue(String path, uint8_t num) {
SerialPrint(F("i"), F("WS"), "file added to Queue " + path);
}
//опсылает массив json по объектно в сокеты
void SendJson::loop() {
if (!filesQueue->empty() && !sendingInProgress) {
Serial.println("Queue not empty");