Skip to content

MQTT Broker Server

MQTT Broker Server

How can you add a MQTT Broker Server to ResIOT platform

  1. If you want to receive all the data to your personal Mosquitto, you can configure a MQTT Broker Server.
  2. The configuration needs:
    • Name of the server.
    • Broker Url.
    • Username.
    • Password.
    • Click on the checkbox named SSL/TLS if your broker can use the secure transmission.
    • Client Certificate.
    • Key Client Certificate.
    • Cliend Id.
  3. After filling up the form with all this data, the MQTT Broker Server is ready to use and will connect automatically or report errors in your log.

It is possible to trigger downlinks and multicast downlinks, via your broker

  • Downlink.
    • Send a message over your broker with topic "mqtt/tx".
    • For the body of your message, use the example below
{
  "Command": "",
  "appEUI": "8A7628C12D7889EA",
  "askConfirmation": true,
  "devEUI": "0080A4B60410A19B",
  "extraData": "",
  "gwEUI": "0270F0B0A010D0D9",
  "hexIdConnector": "636F6E315434",
  "payload": "PayloadEsempio",
  "port": 48,
  "raw": true,
  "reference": "22"
}

Want to know more?

If you want to learn more about how downlinks work over ResIOT feel free to refer to this page.

  • Multicast Downlink.
    • Send a message over your broker with topic "mqtt/multicast".
    • For the body of your message, use the example below
{
  "GwEUI": "0270F0B0A010D0D9",
  "multicastHexID": "2C143B9002",
  "payload": "PayloadEsempio",
  "port": 48,
  "raw": true,
  "reference": "22"
}