ModuleConfig_SerialConfig: Message<"meshtastic.ModuleConfig.SerialConfig"> & {
    baud: ModuleConfig_SerialConfig_Serial_Baud;
    echo: boolean;
    enabled: boolean;
    mode: ModuleConfig_SerialConfig_Serial_Mode;
    overrideConsoleSerialPort: boolean;
    rxd: number;
    timeout: number;
    txd: number;
}

Serial Config

Type declaration

  • baud: ModuleConfig_SerialConfig_Serial_Baud

    Serial baud rate

    from field: meshtastic.ModuleConfig.SerialConfig.Serial_Baud baud = 5;

  • echo: boolean

    TODO: REPLACE

    from field: bool echo = 2;

  • enabled: boolean

    Preferences for the SerialModule

    from field: bool enabled = 1;

  • mode: ModuleConfig_SerialConfig_Serial_Mode

    Mode for serial module operation

    from field: meshtastic.ModuleConfig.SerialConfig.Serial_Mode mode = 7;

  • overrideConsoleSerialPort: boolean

    Overrides the platform's defacto Serial port instance to use with Serial module config settings This is currently only usable in output modes like NMEA / CalTopo and may behave strangely or not work at all in other modes Existing logging over the Serial Console will still be present

    from field: bool override_console_serial_port = 8;

  • rxd: number

    RX pin (should match Arduino gpio pin number)

    from field: uint32 rxd = 3;

  • timeout: number

    TODO: REPLACE

    from field: uint32 timeout = 6;

  • txd: number

    TX pin (should match Arduino gpio pin number)

    from field: uint32 txd = 4;

from message meshtastic.ModuleConfig.SerialConfig