Added InfluxDB-client library

Version 3.9.0
https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
This commit is contained in:
2021-11-23 12:51:13 +01:00
parent 1c5a0638ed
commit 739f27c0b8
30 changed files with 3665 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _PLATFORM_H_
#define _PLATFORM_H_
#include <core_version.h>
#define STRHELPER(x) #x
#define STR(x) STRHELPER(x) // stringifier
#if defined(ESP8266)
# define INFLUXDB_CLIENT_PLATFORM "ESP8266"
# define INFLUXDB_CLIENT_PLATFORM_VERSION STR(ARDUINO_ESP8266_GIT_DESC)
#elif defined(ESP32)
# define INFLUXDB_CLIENT_PLATFORM "ESP32"
# define INFLUXDB_CLIENT_PLATFORM_VERSION STR(ARDUINO_ESP32_GIT_DESC)
#endif
#endif //_PLATFORM_H_