ModuleConfig_CannedMessageConfig: Message<"meshtastic.ModuleConfig.CannedMessageConfig"> & {
    allowInputSource: string;
    enabled: boolean;
    inputbrokerEventCcw: ModuleConfig_CannedMessageConfig_InputEventChar;
    inputbrokerEventCw: ModuleConfig_CannedMessageConfig_InputEventChar;
    inputbrokerEventPress: ModuleConfig_CannedMessageConfig_InputEventChar;
    inputbrokerPinA: number;
    inputbrokerPinB: number;
    inputbrokerPinPress: number;
    rotary1Enabled: boolean;
    sendBell: boolean;
    updown1Enabled: boolean;
}

TODO: REPLACE

Type declaration

  • allowInputSource: string

    Input event origin accepted by the canned message module. Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"

    from field: string allow_input_source = 10;

  • enabled: boolean

    Enable/disable CannedMessageModule.

    from field: bool enabled = 9;

  • inputbrokerEventCcw: ModuleConfig_CannedMessageConfig_InputEventChar

    Generate input event on CCW of this kind.

    from field: meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_ccw = 6;

  • inputbrokerEventCw: ModuleConfig_CannedMessageConfig_InputEventChar

    Generate input event on CW of this kind.

    from field: meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_cw = 5;

  • inputbrokerEventPress: ModuleConfig_CannedMessageConfig_InputEventChar

    Generate input event on Press of this kind.

    from field: meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_press = 7;

  • inputbrokerPinA: number

    GPIO pin for rotary encoder A port.

    from field: uint32 inputbroker_pin_a = 2;

  • inputbrokerPinB: number

    GPIO pin for rotary encoder B port.

    from field: uint32 inputbroker_pin_b = 3;

  • inputbrokerPinPress: number

    GPIO pin for rotary encoder Press port.

    from field: uint32 inputbroker_pin_press = 4;

  • rotary1Enabled: boolean

    Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.

    from field: bool rotary1_enabled = 1;

  • sendBell: boolean

    CannedMessageModule also sends a bell character with the messages. ExternalNotificationModule can benefit from this feature.

    from field: bool send_bell = 11;

  • updown1Enabled: boolean

    Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.

    from field: bool updown1_enabled = 8;

from message meshtastic.ModuleConfig.CannedMessageConfig

""