As you can see BOTH the ESP32 (in this case an ESP32-CAM module) and a D1 Mini ESP8266 BOTH where able to connect httpS://google.com successfully
so v2.04 of Espruino for both of these works perfectly with SSL.
Hopefully we can close this issue in Github and mark this thread as (SOLVED)
for those interested in playing along here's the code for copying and pasting:
var ssid = '***';
var password = '****';
var port = 80;
var wifi = require('Wifi');
console.log("started");
wifi.connect(ssid, {password: password}, function() {
console.log('Connected to Wifi. IP address is:', wifi.getIP().ip);
var http = require('http');
http.get("https://www.google.com", function(res) {
res.on('data', function(data) {
console.log(data);
});
});
// wifi.save(); // Next reboot will auto-connect
});
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As you can see BOTH the ESP32 (in this case an ESP32-CAM module) and a D1 Mini ESP8266 BOTH where able to connect httpS://google.com successfully
so v2.04 of Espruino for both of these works perfectly with SSL.
Hopefully we can close this issue in Github and mark this thread as (SOLVED)
for those interested in playing along here's the code for copying and pasting:
2 Attachments