mirror of https://github.com/arendst/Tasmota.git
esp8266 email, scripter on 1m devices
This commit is contained in:
parent
91edfe91a0
commit
f3be1445e4
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "tasmota_options.h"
|
||||
|
||||
#if defined(ESP8266) && defined(USE_TLS)
|
||||
#if defined(ESP8266) && (defined(USE_TLS) || defined(USE_SENDMAIL))
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "StackThunk_light.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
#include "tasmota_options.h"
|
||||
#if defined(USE_TLS)
|
||||
#if defined(USE_TLS) || defined(USE_SENDMAIL)
|
||||
|
||||
// #define DEBUG_TLS
|
||||
// #define DEBUG_ESP_SSL
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#ifndef wificlientlightbearssl_h
|
||||
#define wificlientlightbearssl_h
|
||||
#ifdef USE_TLS
|
||||
#if defined(USE_TLS) || defined(USE_SENDMAIL)
|
||||
#include <vector>
|
||||
#include "WiFiClient.h"
|
||||
#include <t_bearssl.h>
|
||||
|
|
|
@ -1354,7 +1354,7 @@ float DoMedian5(uint8_t index, float in) {
|
|||
return median_array(mf->buffer, MEDIAN_SIZE);
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_UFILESYS
|
||||
void fread_str(uint8_t fref, char *sp, uint16_t slen) {
|
||||
uint16_t index = 0;
|
||||
while (glob_script_mem.files[fref].available()) {
|
||||
|
@ -1371,6 +1371,7 @@ void fread_str(uint8_t fref, char *sp, uint16_t slen) {
|
|||
}
|
||||
*sp = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_FEXTRACT
|
||||
|
||||
|
@ -8889,8 +8890,8 @@ uint32_t call2https(const char *host, const char *path) {
|
|||
uint32_t status = 0;
|
||||
|
||||
#ifdef TESLA_POWERWALL
|
||||
authCookie = powerwall.getAuthCookie();
|
||||
return 0;
|
||||
// authCookie = powerwall.getAuthCookie();
|
||||
// return 0;
|
||||
#endif
|
||||
|
||||
#ifdef ESP32
|
||||
|
|
Loading…
Reference in New Issue