openeew / openeew-firmware

Firmware for an OpenEEW sensor.
Apache License 2.0
8 stars 8 forks source link

Version151 #26

Closed johnwalicki closed 3 years ago

johnwalicki commented 3 years ago

I am skeptical about reading the download.openeew.com server certificate from SPIFFS In the case of v1.4.0, the download.openeew.com PEM file not in the SPIFFS data partition. (40 of these devices are in Puerto Rico) When the download server certificate is renewed, we haven't tested whether the PEM changes. v1.5.1 embeds the download.openeew.com server certificate PEM file inside the firmware. It tries to read it from SPIFFS but if that fails for any reason, it falls back to the inline version. I'm merging/releasing v1.5.1 so that the firmware binary can be staged on download.openeew.com and mybluemix.net.