Skip to content

Commit

Permalink
added more for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
isik508 committed Jul 1, 2024
1 parent b140914 commit 0898184
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dsh_mqtt_client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# dsh_mqtt_client

## Run the example

To run the example for fetching mqtt token, you may use below command:
cargo run --package dsh_mqtt_client --example main
cargo run --package dsh_mqtt_client --example fetch_token

To run the example for publishing a message, you may use below command:
cargo run --package dsh_mqtt_client --example publish

To run the example for fetching mqtt token, you may use below command:
cargo run --package dsh_mqtt_client --example subscribe

0 comments on commit 0898184

Please sign in to comment.