forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
Dodanie folderów include i src
This commit is contained in:
24
include/Uploader.h
Normal file
24
include/Uploader.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef UPLOADER_H
|
||||
#define UPLOADER_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <WiFi.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#include <HTTPClient.h>
|
||||
#include <SD.h>
|
||||
#include "Config.h"
|
||||
#include "Display.h"
|
||||
#include "Watchdog.h"
|
||||
|
||||
class Uploader {
|
||||
public:
|
||||
Uploader(Display &display);
|
||||
void processQueue(int maxFiles = 3);
|
||||
|
||||
private:
|
||||
Display &_display;
|
||||
String loadCACert(const char* path);
|
||||
bool sendFile(String filePath, String& caCert);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user