Skip to main content

MQTT Client

If your service is equipped with MQTT Broker Server, you can use the MQTT Client type to connect to your server and publish the data.

Specific configuration

NameDescriptionValid values
mqtt_dist_client_idMQTT Client IDAny string
mqtt_dist_transportTransport type used to connect to servertcp or websockets
mqtt_dist_tlsShould TLS be used to connect?true or false
mqtt_dist_json_datastream_topicTopic used for sending telemetry messagesAny string
mqtt_dist_publish_qos_defaultQoS parameter of messages sent from the clientAny integer number

Example specific configuration

Following is an example of configuration JSON

{
"mqtt_dist_client_id": "dronetag_0001",
"mqtt_dist_transport": "tcp",
"mqtt_dist_tls": false,
"mqtt_dist_json_datastream_topic": "airspace/europe/locations",
"mqtt_dist_publish_qos_default": 0
}

Configuration recommendations

  • Usually a valid Target Port is required to be set.