Mongoose OS is ported to ESP32

Good news! Mongoose OS, an open source cross-platform OS for low-power microcontrollers, has been ported to Espressif ESP32.

Now, all benefits Mongoose OS provides are available on ESP32:

  • Rich networking API,
  • Out-of-the-box cloud connectivity,
  • POSIX file system,
  • Configuration infrastructure,
  • Over-the-Air updates,
  • Flash Encryption,
  • TLS library memory optimisation.

ESP32 hardware capabilities

Compared to its predecessor, the hugely popular ESP8266 chip, ESP32 is a giant leap ahead:

  • Two faster cores,
  • More pins,
  • Way better peripheral support,
  • Integrated Bluetooth in addition to WiFi,
  • More memory,
  • Flash encryption,
  • Secure boot.

That makes ESP32 an extremely attractive solution for wide range of connected applications.

ESP32 Security

In terms of traffic encryption, ESP32 offers mbedTLS library as part of the SDK, which provides industry standard TLS protocol support.
Mongoose OS provides memory-optimised mbedTLS library which reduces consumed RAM from ~32k down to ~2k per single TLS connection.

If you use mutual TLS authentication on ESP32 for the cloud backend connection, as this is the industry security standard now, then a client-side TLS certificate should be stored on flash. The private key associated with the certificate should be protected, this is where flash encryption feature comes handy and Mongoose OS does fully support it.

Try it now - control ESP32 with AWS IoT

Want to see it in action? Get ESP32 and follow the instructions and video at https://github.com/cesanta/mongoose-iot/tree/master/fw/examples/c_mqtt .

Contact us if you have any questions.