From 2d4b060875ca030fbd7ff5aa4b7359859bfb93c5 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sat, 5 Aug 2023 22:22:54 -0700 Subject: [PATCH 1/3] remove depreciated channel_num --- docs/software/python-cli/usage.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/software/python-cli/usage.mdx b/docs/software/python-cli/usage.mdx index 76d350da..f0742558 100644 --- a/docs/software/python-cli/usage.mdx +++ b/docs/software/python-cli/usage.mdx @@ -58,7 +58,7 @@ Meshtastic encodes the radio channel and PSK in the channel's URL. All nodes mus ::: ```shell -meshtastic --ch-set name mychan --ch-index 1 --ch-set channel_num 4 --info +meshtastic --ch-set name mychan --ch-index 1 --info ``` You can even set the channel preshared key to a particular AES128 or AES256 sequence. @@ -76,7 +76,7 @@ Use `--ch-set psk default --ch-index 0` to restore the standard 'default' (minim All `ch-set` commands need to have the `ch-index` parameter specified: ```shell -meshtastic --ch-index 1 --ch-set name mychan --ch-set channel_num 4 --info +meshtastic --ch-index 1 --ch-set name mychan --info ``` ### Ham radio support From 31e36bb1a00bffae4135e382970338e94d06acc5 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sat, 5 Aug 2023 22:23:37 -0700 Subject: [PATCH 2/3] remove --port in ham example --- docs/software/python-cli/usage.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/software/python-cli/usage.mdx b/docs/software/python-cli/usage.mdx index f0742558..259fbf98 100644 --- a/docs/software/python-cli/usage.mdx +++ b/docs/software/python-cli/usage.mdx @@ -85,7 +85,7 @@ Meshtastic is designed to be used without a radio operator license. If you do ha ```shell title="Expected Output" # You should see a result similar to this: -mydir$ meshtastic --port /dev/ttyUSB1 --set-ham KI1345 +mydir$ meshtastic --set-ham KI1345 Connected to radio Setting Ham ID to KI1345 and turning off encryption Writing modified channels to device From 1a7e371a169b09260dbc182d359297ed03aa8bce Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sat, 5 Aug 2023 22:26:43 -0700 Subject: [PATCH 3/3] update wait_bluetooth_secs --- docs/software/python-cli/usage.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/software/python-cli/usage.mdx b/docs/software/python-cli/usage.mdx index 259fbf98..3053dc57 100644 --- a/docs/software/python-cli/usage.mdx +++ b/docs/software/python-cli/usage.mdx @@ -27,9 +27,9 @@ to keep the Bluetooth link alive for eight hours (any usage of the Bluetooth pro ```shell title="Expected Output" # You should see a result similar to this: -mydir$ meshtastic --set bluetooth.wait_bluetooth_secs 28800 +mydir$ meshtastic --set power.wait_bluetooth_secs 28800 Connected to radio... -Setting bluetooth.wait_bluetooth_secs to 28800 +Setting power.wait_bluetooth_secs to 28800 Writing modified preferences to device... ```