-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9bee85
commit 1eb6330
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
TODO | ||
This project is useful for testing Meshtastic networks connected to an MQTT server. Functions can be called in mqttc.py or by using arguments in the command line. | ||
|
||
|
||
Available arguments: | ||
|
||
``` | ||
-h, --help show this help message and exit | ||
--config CONFIG Path to the config file | ||
--message MESSAGE The message to send | ||
--lat LAT Latitude coordinate | ||
--lon LON Longitude coordinate | ||
--alt ALT Altitude | ||
--precision PRECISION Position Precision``` | ||
Example: | ||
To publish a message to the broker using settings defined in config.json: | ||
``` python3 mqttc.py --message "I need an Alpinist"``` | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters