diff --git a/website/docs/software/device/channels.md b/website/docs/software/device/channels.md index b9716a78..07e3d9db 100644 --- a/website/docs/software/device/channels.md +++ b/website/docs/software/device/channels.md @@ -55,4 +55,12 @@ Channels: SECONDARY psk=secret { "psk": "HW7E3nMbiNbvr6MhsDonLCmj7eSAhttzjbIx/r5OQmg=", "name": "testing-channel" } Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ Complete URL (includes all channels): https://www.meshtastic.org/d/#CgUYAyIBAQopIiAdbsTecxuI1u-voyGwOicsKaPt5ICG23ONsjH-vk5CaCoFYWRtaW4 -``` \ No newline at end of file +``` + +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 +``` diff --git a/website/docs/software/python/cli.md b/website/docs/software/python/cli.md index 7f7fe11f..e7eea849 100644 --- a/website/docs/software/python/cli.md +++ b/website/docs/software/python/cli.md @@ -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. +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 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: