Claire/include/backend.hpp
2024-08-17 22:46:10 +02:00

21 lines
No EOL
360 B
C++

#ifndef __BACKEND_HPP__
#define __BACKEND_HPP__
#include <Arduino.h>
#include <ArduinoJson.h>
#include "../include/root_ca.hpp"
extern JsonDocument config;
extern bool isConfigValid;
extern JsonDocument weatherData;
bool parseJsonConfig(String& payload);
bool getConfig();
String urlencode(String str);
bool getWeatherData();
#endif // __BACKEND_HPP__