witnessmenow / arduino-sample-api-request

24 stars 15 forks source link

Added extra example using the BearSSL CertStore method. #2

Open yknivag opened 4 years ago

yknivag commented 4 years ago

Added extra example using the BearSSL CertStore method.

Need to add "ESP8266 Sketch Data Upload" tool to the Arduino IDE
  (https://github.com/esp8266/arduino-esp8266fs-plugin)
Use the Python file in the sketch directory to (re)generate a "certs.ar"
  file an place that in the directory called "data" inside
  the sketch folder.
Upload "certs.ar" to SPIFFS on first use and thereafter
  upload "Sketch only".
  Do this by closing all Serial monitors, and then choosing
  "ESP8266 Sketch Data Upload" in the tools menu.

WARNING: SPIFFS is now deprecated in favour of LittleFS,
  this will need refactoring in the future.