How this channel is being used (or not). Note: this field is an enum to give us options for the future. In particular, someday we might make a 'SCANNING' option. SCANNING channels could have different frequencies and the radio would occasionally check that freq to see if anything is being transmitted. For devices that have multiple physical radios attached, we could keep multiple PRIMARY/SCANNING channels active at once to allow cross band routing as needed. If a device has only a single radio (the common case) only one channel can be PRIMARY at a time (but any number of SECONDARY channels can't be sent received on that common frequency)

Generated

from enum meshtastic.Channel.Role

Enumeration Members

Enumeration Members

DISABLED: 0

This channel is not in use right now

Generated

from enum value: DISABLED = 0;

PRIMARY: 1

This channel is used to set the frequency for the radio - all other enabled channels must be SECONDARY

Generated

from enum value: PRIMARY = 1;

SECONDARY: 2

Secondary channels are only used for encryption/decryption/authentication purposes. Their radio settings (freq etc) are ignored, only psk is used.

Generated

from enum value: SECONDARY = 2;

Generated using TypeDoc