mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 16:56:34 +00:00
Remove WiFiClientSecure
(#19725)
* Update HttpClientLight.cpp * Update HttpClientLight.h * Update Powerwall.h * Update xdrv_10_scripter.ino
This commit is contained in:
parent
4eefed79ac
commit
a3dcbc6661
@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
#ifdef HTTPCLIENT_1_1_COMPATIBLE
|
#ifdef HTTPCLIENT_1_1_COMPATIBLE
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#include <WiFiClientSecure.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <StreamString.h>
|
#include <StreamString.h>
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <WiFiClient.h>
|
#include <WiFiClient.h>
|
||||||
#include <WiFiClientSecure.h>
|
|
||||||
|
|
||||||
#include <HTTPClient.h> // import definitions from the original code
|
#include <HTTPClient.h> // import definitions from the original code
|
||||||
|
|
||||||
|
@ -4,12 +4,7 @@
|
|||||||
#define Powerwall_h
|
#define Powerwall_h
|
||||||
|
|
||||||
// include libraries
|
// include libraries
|
||||||
#ifdef ESP8266
|
|
||||||
#include "WiFiClientSecureLightBearSSL.h"
|
#include "WiFiClientSecureLightBearSSL.h"
|
||||||
#else
|
|
||||||
#include <WiFiClientSecure.h>
|
|
||||||
#endif //ESP8266
|
|
||||||
|
|
||||||
|
|
||||||
class Powerwall {
|
class Powerwall {
|
||||||
private:
|
private:
|
||||||
|
@ -11953,11 +11953,7 @@ int32_t call2pwl(const char *url) {
|
|||||||
#endif // TESLA_POWERWALL
|
#endif // TESLA_POWERWALL
|
||||||
|
|
||||||
|
|
||||||
#ifdef ESP8266
|
|
||||||
#include "WiFiClientSecureLightBearSSL.h"
|
#include "WiFiClientSecureLightBearSSL.h"
|
||||||
#else
|
|
||||||
#include <WiFiClientSecure.h>
|
|
||||||
#endif //ESP8266
|
|
||||||
|
|
||||||
// get https info page json string
|
// get https info page json string
|
||||||
uint32_t call2https(const char *host, const char *path) {
|
uint32_t call2https(const char *host, const char *path) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user