“IoT Messaging made secure, trusted, and easy”
SMQ Source Code, Libraries, and Instructions
We provide several SMQ source code implementations for various programming languages.
The C code is designed for microcontrollers and can be used by RTOS and bare-metal (super-loop) systems. The code can also be used on a HLOS such as Windows and Linux. The following porting layers are included in the source code: FreeRTOS+TCP, Microchip Harmony, lwIP-netconn, lwIP-raw, uIP, MQX, ThreadX/NetX, POSIX (Linux), Windows.Downloads:
Check out the SharkSSL IDE, which includes the secure SMQ client SharkMQ. A simple button click compiles the C source code and uploads the code to an ESP32. See the tutorial Beginner's Guide to Secure IoT Programming for details.
Online C Compiler:
Initially, you may test our LED example by compiling and running the example code using our online C compiler setup. Run the example as follows:
How to run the LED example on your own computer/device:
SMQ.js is included in the Barracuda App Server and in the Mako Server's resource file mako.zip. You can find SMQ.js in mako.zip/smq.js. The LED demo source code is included in the Mako Server's tutorials, in IoT.zip/smq/index.html.
The broker is implemented in Lua using Cosockets and an instance of the broker runs on the Barracuda App Server's Lua runtime engine. The broker is included in the Mako Server's resource file mako.zip. You can find the broker in the source file mako.zip/.lua/smqbroker.lua. The broker setup code used by the LED demo is included in the Mako Server's tutorials, in IoT.zip/.preload and in IoT.zip/smq.lsp.
Tutorials for how to use SMQ, including a tutorial on the SMQ LED demo, can be found at the Mako Server Web site.