Now available: Secure WebSockets and MQTT over TLS libraries
This post was originally published on Mbed Developer Blog.
Two weeks ago Real Time Logic released some very interesting libraries for mbed. Real Time Logic maintains the SharkSSL library, which contains a lightweight TLS client suitable for running on Cortex-M series microcontrollers. Previously SharkSSL was only available under a commercial license, but they have now released a light version of SharkSSL for mbed users.
While that in itself is already worthy of a blog post, they also released a number of (according to y’all in the forums) highly sought after examples: secure WebSockets (WSS) and MQTT over TLS.
SharkSSL-Lite running on an mbed board, talking to a WSS server.
The examples currently run on boards with an Ethernet port (verified on an FRDM-K64F), but should be easy to port to other IP-based protocols like WiFi, Cellular and 6LoWPAN.