Channel: Message<"meshtastic.Channel"> & {
    index: number;
    role: Channel_Role;
    settings?: ChannelSettings;
}

A pair of a channel number, mode and the (sharable) settings for that channel

Type declaration

  • index: number

    The index of this channel in the channel table (from 0 to MAX_NUM_CHANNELS-1) (Someday - not currently implemented) An index of -1 could be used to mean "set by name", in which case the target node will find and set the channel by settings.name.

    from field: int32 index = 1;

  • role: Channel_Role

    TODO: REPLACE

    from field: meshtastic.Channel.Role role = 3;

  • Optionalsettings?: ChannelSettings

    The new settings, or NULL to disable that channel

    from field: meshtastic.ChannelSettings settings = 2;

from message meshtastic.Channel