Microvisor | Mar. 08, 2023
MQTT now supported by Microvisor
Microvisor developers need a lightweight, scalable, and reliable way to send high volumes of sensor and other device data to their cloud platforms to perform analytics that can then drive business decisions. Microvisor therefore now supports MQTT, a lightweight network protocol for machine-to-machine messaging, predominantly used in low-power IoT architectures.
The general MQTT architecture looks as follows:
Microvisor provides a set of system calls which allow your application, acting as the MQTT client, to communicate with public and private MQTT brokers to subscribe to topics, post messages to those topics, and to be notified of inbound messages.
Your application will ask Microvisor to perform MQTT tasks on its behalf, and Microvisor will respond immediately, either accepting the command or providing a reason why it is unable to do so. It will respond asynchronously with the outcome of accepted operations. Microvisor’s notification system is used to manage this asynchronicity.
For more information, visit How to Issue MQTT Requests Under Microvisor.