MQTT Essentials – Version 3.1.1
A Deep understanding of the lightweight MQTT protocol
MQTT Client Authentication
Bevywise MQTTRoute is a perfect message broker that supports the simple authentication, which matters the most in the MQTT essentials. The clients should send the authentication in the connect packet as per the MQTT protocol standard. This provides the best practices to secure & ensure that only authorized clients can connect to the MQTT Broker.
All QoS Support
The MQTT Broker supports all the Quality of Service levels in MQTT as per the MQTT Standard Specifications.
QoS 0 – Atmost Once
QoS 1 – Atleat Once
QoS 2 – Exactly Once
The QoS levels guarantee message delivery and are related to the MQTT connection between the client and the broker. When an MQTT client publishes a message to a broker, the client decides the QoS level of its message based on its network reliability by making communication over unreliable networks much simpler.
Last WILL and Retain
Bevywise MQTT Broker support WILL and Retained messages. MQTT LAST WILL registered with the broker when the MQTT client connects. WILL messages are sent to interested clients who subscribe to a particular WILL topic and also used to send a message to the client if they lose connection due to network outage. Retain messages can be received by configuring the MQTT Retain bit. Retained Messages are sent to new subscribers on a specific topic, and the broker processes the request and publishes the messages to the configured clients.
Persistence Session and Message Queuing
MQTT Broker supports Clean Session 0 and 1 for persistent and clean connections. The broker will honor the clean session parameter set by the MQTT client on a Connection. When the client connects to the broker, it can request a persistent session from the broker. The broker stores the client’s information and the topics it has subscribed to in a message queue. When the client reconnects after disconnecting, the broker sends all undelivered mqtt messages in a message queue to the client.
MQTT Gateway and Sensors
Connect your sensors to the MQTTRoute. Both transparent and aggregated gateways are supported. The gateway supports auto-discovery with Gateway search and advertising messages.
When a client subscribes to a topic, they can use wildcards to subscribe to multiple topics at the same time. When subscribing to multiple topics, you can use two wildcards: single-level and multi-level. MQTT Broker support both single-level [+] and multiple levels [#] wildcard for subscribing more topics at a time.
MQTT Server handles both transient error and protocol violation error based on MQTT specification by closing down only the network, which causes that error and does not allow to interact with other successful clients.