Skip to content

About

MQTT encoding/decoding library

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

144 Commits

Folders and files

Repository files navigation

mqtt-proto

MQTT encoding/decoding library (support no-std)

Simple usage example

Run:

cargo run --example basic_usage --features tokio

This example connects to a real broker, then sends:

  1. CONNECT and waits for CONNACK
  2. one QoS0 PUBLISH
  3. DISCONNECT

Optional env vars:

BROKER_ADDR=broker.emqx.io:1883
MQTT_TOPIC=mqtt-proto/demo/basic

Warning: this is a public broker. Do not send sensitive data.

About

MQTT encoding/decoding library

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages