forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
23 lines
376 B
C++
23 lines
376 B
C++
#ifndef APICLIENT_H
|
|
#define APICLIENT_H
|
|
|
|
#include <Arduino.h>
|
|
#include <WiFiClient.h>
|
|
#include <HTTPClient.h>
|
|
#include <FS.h>
|
|
#include <SD.h>
|
|
#include "Config.h"
|
|
#include "Watchdog.h"
|
|
|
|
class APIClient {
|
|
public:
|
|
APIClient();
|
|
|
|
bool uploadMeasurement(const String& filePath);
|
|
int checkDeviceFlags();
|
|
bool fetchWiFiConfig();
|
|
bool sendWiFiAck();
|
|
};
|
|
|
|
#endif
|