ESP8266 internet connected switch mqtt issue

5 years 6 months ago #3211 by david
arduino v 1.6.8, the problem maintain the same

Please Log in or Create an account to join the conversation.

5 years 6 months ago #3218 by EasyIoT
I didn't try it, but maybe it can help:

Please Log in or Create an account to join the conversation.

5 years 6 months ago #3227 by david
Not working, I'm tried with windows8 and linux UBUNTU, not working.
I put it workink making the same on WiFiClientSecure.cpp side, I changed the variable name from "default_private_key_len" to "ESP_default_private_key_len" various times on the entire file, but, after some time it left working again and i don't now why!

Please Log in or Create an account to join the conversation.

5 years 5 months ago #3268 by EasyIoT
I've solved problem by commenting 2 lines in esp-mqtt/src/mqtt/mqtt.c file of MQTT library:

unsigned char *default_certificate;
//unsigned int default_certificate_len = 0;
unsigned char *default_private_key;
//unsigned int default_private_key_len = 0;

Please Log in or Create an account to join the conversation.

Time to create page: 0.285 seconds