From 2d644607ee138e6c545fec4448f36b44b086fc01 Mon Sep 17 00:00:00 2001 From: prokrypt Date: Thu, 25 May 2023 17:11:43 -0700 Subject: [PATCH 1/2] Update canned-message.mdx - pipes, pipes everywhere! --- docs/configuration/module-config/canned-message.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/module-config/canned-message.mdx b/docs/configuration/module-config/canned-message.mdx index b2dce0db..313182d2 100644 --- a/docs/configuration/module-config/canned-message.mdx +++ b/docs/configuration/module-config/canned-message.mdx @@ -27,7 +27,7 @@ This module can also be configured to beep only when message contains the bell c ### Messages -The list of pre-set messages, up to 200 bytes. +The list of pre-set messages separated by pipes '|', up to 200 bytes. ### Input Source From 62ba1557d242b1fdd34df282ef9c4ac11ffb9044 Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Fri, 26 May 2023 11:43:16 -0700 Subject: [PATCH 2/2] update desc, fix table, fix example --- docs/configuration/module-config/canned-message.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/configuration/module-config/canned-message.mdx b/docs/configuration/module-config/canned-message.mdx index 313182d2..2131d149 100644 --- a/docs/configuration/module-config/canned-message.mdx +++ b/docs/configuration/module-config/canned-message.mdx @@ -27,7 +27,7 @@ This module can also be configured to beep only when message contains the bell c ### Messages -The list of pre-set messages separated by pipes '|', up to 200 bytes. +The list of pre-set messages as configured by the user. Messages should be separated by pipes `|`. The total byte count for the message list can be up to 200 bytes ### Input Source @@ -117,8 +117,7 @@ Example commands are below: | canned_message.enabled | `true`, `false` | `false` | | canned_message.send_bell | `true`, `false` | `false` | | canned_message.allow_input_source | `rotEnc1`, `_any`, `upDownEnc1`, `cardkb` | `_any` | -| canned_message.messages | `string` | `""` | -| (Messages)\* | `string` | `""` | +| canned_message.messages | `string` | `""` (separate using pipes) | | canned_message.inputbroker_event_cw | `InputEventChar` | (not defined) | | canned_message.inputbroker_event_ccw | `InputEventChar` | (not defined) | | canned_message.inputbroker_event_press | `InputEventChar` | (not defined) | @@ -147,7 +146,7 @@ meshtastic --set canned_message.send_bell false ``` ```shell title="Set Messages" -meshtastic --set-canned-message "I need an alpinist!|Call Me|Roger Roger|Keep Calm|On my way" +meshtastic --set canned_message.messages "I need an alpinist!|Call Me|Roger Roger|Keep Calm|On my way" ``` ```shell title="Set Input Source"