ModuleConfig_AudioConfig: Message<"meshtastic.ModuleConfig.AudioConfig"> & {
    bitrate: ModuleConfig_AudioConfig_Audio_Baud;
    codec2Enabled: boolean;
    i2sDin: number;
    i2sSck: number;
    i2sSd: number;
    i2sWs: number;
    pttPin: number;
}

Audio Config for codec2 voice

Type declaration

  • bitrate: ModuleConfig_AudioConfig_Audio_Baud

    The audio sample rate to use for codec2

    from field: meshtastic.ModuleConfig.AudioConfig.Audio_Baud bitrate = 3;

  • codec2Enabled: boolean

    Whether Audio is enabled

    from field: bool codec2_enabled = 1;

  • i2sDin: number

    I2S Data OUT

    from field: uint32 i2s_din = 6;

  • i2sSck: number

    I2S Clock

    from field: uint32 i2s_sck = 7;

  • i2sSd: number

    I2S Data IN

    from field: uint32 i2s_sd = 5;

  • i2sWs: number

    I2S Word Select

    from field: uint32 i2s_ws = 4;

  • pttPin: number

    PTT Pin

    from field: uint32 ptt_pin = 2;

from message meshtastic.ModuleConfig.AudioConfig