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