Canned Message Module Configuration
The Canned Message Module will allow you to send messages to the mesh network from the device without using the phone app. You can predefine text messages to choose from.
The canned message module config options are: Enabled, Send Bell, Messages, Input Source, Rotary Encoder Enabled, Up Down Encoder Enabled, Input Broker Pin A, Input Broker Pin B, Input Broker Pin Press, Input Broker Event Clockwise, Input Broker Event Counter Clockwise, and Input Broker Event Press. Canned Message config uses an admin message sending a ConfigModule.CannedMessage
protobuf.
Canned Message Module Config Values
Enabled
Enables the canned message module.
Send Bell
Sends a bell character with each message.
The External Notification Module can be set up to beep when a new message arrives. This module can also be configured to beep only when a message contains the bell character.
Messages
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
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) |
scanAndSelect | Single push-button (short and long press) |
cardkb | M5 Stack CardKB (this covers RAK14004 Keymatrix) |
serialkb | Chatter serial keypad |
Rotary Encoder Enabled
Enable the default rotary encoder.
Up Down Encoder Enabled
Enable the up / down encoder.
Input Broker Pin A
GPIO Pin Value (1-39) For encoder port A
Input Broker Pin B
GPIO Pin Value (1-39) For encoder port B
Input Broker Pin Press
GPIO Pin Value (1-39) For encoder Press port
Input Broker Event Clockwise
Generate the rotary clockwise event.
Input Broker Event Counter Clockwise
Generate the rotary counter clockwise event.