Secure MQTT 5 Client - Lua Programmable & Firewall Friendly

The Barracuda App Server's MQTT 5 client is a secure and reliable implementation of the MQTT standard widely used in the IoT industry. Developed in the Lua scripting language, the MQTT Client supports both non-secure and secure communication, with the secure option managed by our SharkSSL TLS library. Whether you are working on a small-scale project or a large enterprise deployment, the MQTT Client can help you build robust and scalable solutions that meet your organization's needs. With its support for the latest MQTT standard and secure communication options, the MQTT Client is a powerful tool for building reliable and practical IoT applications.

The MQTT Client includes several advanced features that allow it to connect and communicate through even the most secure and restrictive firewalls. These features include support for SOCKS 5 connections, the TLS ALPN extension, and TLS-enabled WebSocket connections. With these options, you can build IoT solutions that can bypass even the most stringent firewall restrictions, enabling you to connect and communicate with your devices and systems without interference.

The MQTT Client has been specifically designed to bridge MQTT products with browser-based HMIs and securely connect industrial equipment to the Internet and MQTT cloud server providers.

Looking to build robust, secure, and scalable IoT applications? Check out our comprehensive tutorial on mastering MQTT with Lua to get started.

The MQTT Client, which is Sparkplug ready, allows application developers to design control logic using the easy-to-learn Lua scripting language. With this tool, developers can easily create MQTT products using a high-level scripting language, streamlining the development process and enabling the creation of more advanced and feature-rich solutions. Whether you are working on a small-scale project or a large-scale enterprise deployment, this MQTT Client can help you build reliable and scalable solutions that meet the needs of your organization.

MQTT Sparkplug Library

The Sparkplug specification is a set of guidelines designed to standardize MQTT pub/sub interoperability in the Industrial Internet of Things (IIoT) field. By specifying a unified MQTT topic namespace and outlining how metrics should be encoded and decoded, the Sparkplug specification helps ensure that MQTT-based products can work together seamlessly in IIoT environments. Real Time Logic's ready-to-use MQTT Sparkplug Library can be a valuable resource if you want to design Sparkplug-compliant products. This library greatly simplifies the process of designing Sparkplug-compliant products, saving you time and effort and helping you build reliable and effective solutions.


Unlock the full potential of your IoT projects with our MQTT Client for Lua. Included in our Barracuda App Server Download Package, you'll find ready-to-use examples and tutorials to help you get started quickly. Perfect for building RTOS-powered devices. See the Online MQTT Documentation for additional details.

Complimentary SparkPlug Explorer:
Download our complimentary SparkPlug Explorer.

Super Fast MQTT 5 Stack

Lua MQTT 5 Stack

If you are concerned about the performance of the Lua-implemented MQTT stack on your embedded device, you may be interested in the results of our MQTT speed test program.

You may not think sending and receiving a total of 2000 messages in just under three seconds sounds very impressive, but when we tell you we ran this on a low-end ESP32 microcontroller, then that is impressive. The MQTT documentation includes the MQTT speed test program.

Supported Embedded Operating Systems and Platforms

The Lua MQTT Client stack is available for all platforms supported by the Barracuda App Server, including INTEGRITY, VxWorks, QNX, Embedded Linux, and FreeRTOS.

Note: we provide a secure MQTT Client, implemented in C code and delivered with SharkSSL, in addition to the Barracuda App Server's Lua MQTT Client.

Next: OPC-UA