Replies: 1 comment
-
mycode is below #include <EthernetESP32.h> unsigned long t,u; W5500Driver driver; const char* mqttServer = "test.mosquitto.org"; // Broker address // Set the static IP address to use if the DHCP fails to assign const char *root_ca = const char *client_crt = const char *client_key = void callback(char* topic, byte* payload, unsigned int length) { NetworkClientSecure ethClientSSL; void reconnect() { void setup() { Serial.begin(115200); Ethernet.init(driver); // start the Ethernet connection: Serial.print("connecting to "); //ethClientSSL.setInsecure(); // use only for a test! } void loop() { |
Beta Was this translation helpful? Give feedback.
-
hi all, I try to connect to test.mosquitto.org port 8884 that require root ca, client cert and client key using esp32+w5500.
I use networkclientsecure lib but no success. while on port 8883 that requires root_ca only it works fine. any suggestions will really appreciated. thank you
Beta Was this translation helpful? Give feedback.
All reactions