Merge pull request #34 from acabey/master

Documentation for channel settings via CLI
This commit is contained in:
Sacha Weatherstone 2021-05-04 09:44:16 +10:00 committed by GitHub
commit c6dd603686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View file

@ -55,4 +55,12 @@ Channels:
SECONDARY psk=secret { "psk": "HW7E3nMbiNbvr6MhsDonLCmj7eSAhttzjbIx/r5OQmg=", "name": "testing-channel" } SECONDARY psk=secret { "psk": "HW7E3nMbiNbvr6MhsDonLCmj7eSAhttzjbIx/r5OQmg=", "name": "testing-channel" }
Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ
Complete URL (includes all channels): https://www.meshtastic.org/d/#CgUYAyIBAQopIiAdbsTecxuI1u-voyGwOicsKaPt5ICG23ONsjH-vk5CaCoFYWRtaW4 Complete URL (includes all channels): https://www.meshtastic.org/d/#CgUYAyIBAQopIiAdbsTecxuI1u-voyGwOicsKaPt5ICG23ONsjH-vk5CaCoFYWRtaW4
``` ```
Secondary channels can be deleted by specifying their index, otherwise ch-del will attempt to delete channel index 0
```bash title="Deleting a secondary channel"
$ meshtastic --ch-index 1 --ch-del
Connected to radio
Deleting channel 1
```

View file

@ -74,6 +74,12 @@ Use `--ch-set psk random` will assign a new (high quality) random AES256 key to
Use `--ch-set psk default` to restore the standard 'default' (minimally secure, because it is in the source code for anyone to read) AES128 key. Use `--ch-set psk default` to restore the standard 'default' (minimally secure, because it is in the source code for anyone to read) AES128 key.
All `ch-set` commands will default to the primary channel at index 0, but can be applied to other channels with the `ch-index` parameter:
```bash
meshtastic --ch-index 1 --ch-set name mychan --ch-set channel_num 4 --info
```
### Ham radio support ### Ham radio support
Meshtastic is designed to be used without a radio operator license. If you do have a license you can set your operator ID and turn off encryption with: Meshtastic is designed to be used without a radio operator license. If you do have a license you can set your operator ID and turn off encryption with: