JXCT Soil Sensor 7-in-1 v3.4.9 (June 2025)
Professional IoT soil monitoring system with ESP32, Modbus RTU, MQTT, and advanced compensation algorithms
Загрузка...
Поиск...
Не найдено
thingspeak_client.h
См. документацию.
1#ifndef THINGSPEAK_CLIENT_H
2#define THINGSPEAK_CLIENT_H
3
4#include <WiFiClient.h>
5#include <Arduino.h>
6#include <ThingSpeak.h>
7
8extern WiFiClient espClient;
9
10// ✅ Заменяем String на функции-геттеры для совместимости
11const char* getThingSpeakLastPublish();
12const char* getThingSpeakLastError();
13
14// Инициализация ThingSpeak клиента (передаём WiFiClient)
15void setupThingSpeak(WiFiClient& client);
16
17// Отправка данных в ThingSpeak (с учётом интервала)
19
20#endif // THINGSPEAK_CLIENT_H
WiFiClient espClient
Определения mqtt_client.cpp:22
bool sendDataToThingSpeak()
Определения thingspeak_client.cpp:54
const char * getThingSpeakLastPublish()
Определения thingspeak_client.cpp:40
const char * getThingSpeakLastError()
Определения thingspeak_client.cpp:44
void setupThingSpeak(WiFiClient &client)
Определения thingspeak_client.cpp:49