diff --git a/docs/configuration/module/canned-message.mdx b/docs/configuration/module/canned-message.mdx index 5ea188ad..2e3d567c 100644 --- a/docs/configuration/module/canned-message.mdx +++ b/docs/configuration/module/canned-message.mdx @@ -34,14 +34,15 @@ The list of pre-set messages as configured by the user. Messages should be separ ### Input Source Input event sources accepted by the canned message module. - -| Value | Description | -| :----------: | :------------------------------------------------------------------: | -| `_any` | Default. Allows any peripheral input device connected to the device. | -| `rotEnc1` | Basic Rotary Encoder | -| `upDownEnc1` | Up Down Encoder (use this also for RAK14006 Rotary Encoder) | -| `cardkb` | M5 Stack CardKB (this covers RAK14004 Keymatrix) | -| `serialkb` | Chatter serial keypad | + +| Value | Description | +| :-------------: | :------------------------------------------------------------------: | +| `_any` | Default. Allows any peripheral input device connected to the device. | +| `rotEnc1` | Basic Rotary Encoder | +| `upDownEnc1` | Up Down Encoder (use this also for RAK14006 Rotary Encoder) | +| `scanAndSelect` | Single push-button (short and long press) | +| `cardkb` | M5 Stack CardKB (this covers RAK14004 Keymatrix) | +| `serialkb` | Chatter serial keypad | ### Rotary Encoder Enabled @@ -236,6 +237,21 @@ If you don't want to broadcast your freetext message, you can use the CardKB to Just use UP/DOWN/ENTER to select a predefined message and send it. +### Scan and Select + +Use a single push-button to select and send predefined messages. + +#### Setup +* Connect a normally-open push-button between ground and a GPIO pin of your choice +* Configure the canned messages module + - Set [Input Source](#input-source) to `scanAndSelect` + - Set [Input Broker Pin Press](#input-broker-pin-press) to your chosen GPIO + - Define a [list of pre-set messages](#messages) + +#### Usage +* Short press: scroll through messages +* Long press: send the currently highlighted message to your primary channel + ### Rotary encoder Meshtastic supports hardwired rotary encoders as input devices. diff --git a/docs/configuration/radio/device.mdx b/docs/configuration/radio/device.mdx index 87aedea3..8ed5fcdc 100644 --- a/docs/configuration/radio/device.mdx +++ b/docs/configuration/radio/device.mdx @@ -169,7 +169,7 @@ All device config options are available in the python CLI. Example commands are | device.serial_enabled | `true`, `false` | `true` | | device.button_gpio | `0` - `34` | `0` | | device.buzzer_gpio | `0` - `34` | `0` | -| device.node_info_broadcast_secs | `0` - `UINT MAX` | `10800` (3 hours) | +| device.node_info_broadcast_secs | `3600` - `UINT MAX` | `10800` (3 hours) | | device.double_tap_as_button_press | `false`, `true` | `false` | | device.is_managed | `false`, `true` | `false` |