Options
All
  • Public
  • Public/Protected
  • All
Menu

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 protobuf enum Channel.Role

Index

Enumeration members

Enumeration members

DISABLED

DISABLED: = 0

This channel is not in use right now

generated

from protobuf enum value: DISABLED = 0;

PRIMARY

PRIMARY: = 1

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

generated

from protobuf enum value: PRIMARY = 1;

SECONDARY

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 protobuf enum value: SECONDARY = 2;

Generated using TypeDoc