Skip to content

lighthouse-no/demo-mqtt-pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Publisher Example App

A simple proof-of-concept app that publishes messages to the public MQTT server at tcp://broker.emqx.io:1883

This app works with in conjunction with a corresponding subscriber app.

MQTT Demo Pub/Sub App

Usage

  1. Ensure that the corresponding subscriber app has first been pushed to Cloud Foundry and is running
  2. Compile with cargo build --release
  3. Start publisher ./target/release/mqtt-pub

The publisher sends 5 messages on the alternating MQTT topics "rust/mqtt", and "rust/test", then terminates.


© 2023 Lighthouse Consulting AS

Releases

No releases published

Packages

No packages published

Languages