mirror of https://github.com/arendst/Tasmota.git
parent
8da743f98e
commit
2e7c72724d
|
@ -20,11 +20,13 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#define LWIP_INTERNAL
|
||||
|
||||
#include "my_user_config.h"
|
||||
#ifdef USE_MQTT_TLS
|
||||
|
||||
#define DEBUG_TLS
|
||||
|
||||
#define LWIP_INTERNAL
|
||||
|
||||
#include <list>
|
||||
#include <errno.h>
|
||||
#include <algorithm>
|
||||
|
@ -46,8 +48,7 @@ extern "C" {
|
|||
#include <include/ClientContext.h>
|
||||
#include "c_types.h"
|
||||
|
||||
#define DEBUG_TLS
|
||||
|
||||
#include <core_version.h>
|
||||
#ifndef ARDUINO_ESP8266_RELEASE_2_5_2
|
||||
#undef DEBUG_TLS
|
||||
#endif
|
||||
|
|
|
@ -263,6 +263,7 @@
|
|||
#define HOME_ASSISTANT_DISCOVERY_PREFIX "homeassistant" // Home Assistant discovery prefix
|
||||
|
||||
// -- MQTT - TLS - AWS IoT ------------------------
|
||||
// Using TLS starting with version v6.5.0.16 compilation will only work using platformio. Arduino IDE will fail.
|
||||
//#define USE_MQTT_TLS // Use TLS for MQTT connection (+56.7k code, +6.0k mem and +6.6k additional during connection handshake)
|
||||
//#define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, uses more memory and slower, but simpler to use
|
||||
//#define USE_MQTT_AWS_IOT // Enable MQTT for AWS IoT - requires a private key (+56.7k code, +6.0k mem and +6.6k additional during connection handshake)
|
||||
|
|
Loading…
Reference in New Issue