Copyright Micropelt

Subscribing and Publishing MQTT Messages from Gateway(Semtech Packet Forwarder Protocol)

Links to Documentation

Description

Link

Description

Link

MQTT Message Structure and Documentation

(For Multitech Gateways)

https://www.multitech.net/developer/software/lora/lora-network-server/mqtt-messages/

Subscribing to MQTT Messages from the device

Publishing MQTT Messages to the Device

  • MQTT Command to send Downlink messages to the device

  • mosquitto_pub -t lora/<enter_DEV_EUI_here>/down -m '{"data":<enter_Base64_payload_here>,"port":1}' -u <enter_Username> -P <enter_Password>

  • Use the Excel Tool to prepare the Base64 Payload for the Downlink from “Downlink Encoder“ Tab MLR003 Payload Encoder/Decoder

  • Example Downlink Payload

  • SQAoAABA
  • Example

  • mosquitto_pub -t lora/30-37-37-35-60-31-5f-0f/down -m '{"data":"SQAoAABA","port":1}' -u User -P top_secret_password