Quality RTOS & Embedded Software

LIBRARIES
NOTE: The MQTT library is part of the FreeRTOS LTS Roadmap. The MQTT library presented here has been superseded by a release candidate that is leaner and more modular . The library presented on this page will be removed after pre-existing demos are converted to use the release candidate code.

MQTT Library

Introduction

The MQTT (Message Queue Telemetry Transport) library provides a lightweight publish/subscribe (or PubSub) messaging protocol that runs on top of TCP/IP and is often used in Machine to Machine (M2M) and Internet of Things (IoT) use cases.  The MQTT library implements a subset of the MQTT 3.1.1 protocol standard. An MQTT connection to a broker can be established in a non-secure and secure manner.  Especially in IoT use cases, TLS (Transport Layer Security) is used to provide a secure communication protocol between a client and sever.  In TLS, the client and server establish a secure connection through a handshake protocol to prevent eavesdropping from any malicious parties. The FreeRTOS+ libraries can be used individually or collectively to create locally connected or internet connected MCU applications.  Each library can be freely used and is distributed under the MIT open source license.

 

Code Size of MQTT (example generated with GCC for ARM Cortex-M)
FileWith -O1 OptimisationWith -Os Optimisation
iot_mqtt_serialize.c1.0K0.9K
iot_mqtt_helper.c0.8K0.8K
iot_mqtt_subscription.c1.1K0.9K
iot_mqtt_network.c0.8K0.8K
iot_mqtt_api.c2.7K2.4K
iot_mqtt_validate.c0.5K0.4K
iot_mqtt_lightweight_api.c1.1K0.7K
iot_mqtt_operation.c1.6K1.5K
iot_mqtt_static_memory.c0.2K0.2K
Total estimate (configurations defined here)9.8K8.6K
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.