From 3e64d9d7ae2f3e8f134aefc46825fba4ad15b28e Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sun, 11 Sep 2022 17:22:33 +0300 Subject: [PATCH 1/2] param is case sensitive Using Python CLI v1.3.29: ``` >meshtastic --set device.role client Connected to radio device.role does not have an enum called client, so you can not set it. Choices in sorted order are: Client ClientMute Router RouterClient LocalConfig and LocalModuleConfig do not have attribute device.role. ``` --- docs/settings/config/device.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/settings/config/device.mdx b/docs/settings/config/device.mdx index 8f26bd2b..676b6d60 100644 --- a/docs/settings/config/device.mdx +++ b/docs/settings/config/device.mdx @@ -18,10 +18,10 @@ Acceptable values: | Value | Description | | :-------: | :---------------------------------------------------------------------------------------: | -| `client` | Client (default) - App connected client. | -| `clientMute` | Client Mute - Same as a client except packets will not hop over this node, does not contribute to routing packets for mesh. | -| `router` | Router - Mesh packets will prefer to be routed over this node. This node will not be used by client apps. The wifi/ble radios and the oled screen will be put to sleep. | -| `routerClient` | Router Client - Mesh packets will prefer to be routed over this node. The Router Client can be used as both a Router and an app connected Client. | +| `Client` | Client (default) - App connected client. | +| `ClientMute` | Client Mute - Same as a client except packets will not hop over this node, does not contribute to routing packets for mesh. | +| `Router` | Router - Mesh packets will prefer to be routed over this node. This node will not be used by client apps. The wifi/ble radios and the oled screen will be put to sleep. | +| `RouterClient` | Router Client - Mesh packets will prefer to be routed over this node. The Router Client can be used as both a Router and an app connected Client. | ### Serial Console @@ -75,7 +75,7 @@ All device config options other than NTP Server are available on iOS, iPadOS and All device config options are available in the python CLI. Example commands are below: ```shell title="Set the role to client" -meshtastic --set device.role client +meshtastic --set device.role Client ``` ```shell title="Disable serial console" @@ -105,4 +105,4 @@ All device config options are available in the Web UI. ::: - \ No newline at end of file + From 5ccb5dfb37cec3e61f502fd156af3d14a0cb38f0 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sun, 11 Sep 2022 17:27:03 +0300 Subject: [PATCH 2/2] param value is case sensitive Using Python CLI v1.3.29: ``` >meshtastic --set bluetooth.mode randomPin Connected to radio bluetooth.mode does not have an enum called randomPin, so you can not set it. Choices in sorted order are: FixedPin NoPin RandomPin LocalConfig and LocalModuleConfig do not have attribute bluetooth.mode. ``` --- docs/settings/config/bluetooth.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/settings/config/bluetooth.mdx b/docs/settings/config/bluetooth.mdx index 7715969e..7c2fba84 100644 --- a/docs/settings/config/bluetooth.mdx +++ b/docs/settings/config/bluetooth.mdx @@ -26,7 +26,7 @@ If your pairing mode is set to fixed PIN this is the value of that fixed 6 digit | Setting | Acceptable Values | Default | | :-----------------------: | :-----------------: | :-----: | | bluetooth.enabled | `true`, `false` | `true` | -| bluetooth.mode | `randomPin`, `fixedPin`, `noPin` | `randomPin` | +| bluetooth.mode | `RandomPin`, `FixedPin`, `NoPin` | `RandomPin` | | bluetooth.fixedPin | `integer` 6 Digits | `123456` |