kopia lustrzana https://github.com/meshtastic/protobufs
Simpilify channel naming for various channel speeds
rodzic
b1e1a54330
commit
7b1c057858
15
mesh.proto
15
mesh.proto
|
@ -343,16 +343,21 @@ message ChannelSettings {
|
|||
*/
|
||||
enum ModemConfig {
|
||||
Bw125Cr45Sf128 = 0 ; // < Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC
|
||||
// < on. Default medium range
|
||||
// < on. Medium range
|
||||
// The english default channel name for this setting is "MediumRange"
|
||||
|
||||
Bw500Cr45Sf128 = 1; // < Bw = 500 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC
|
||||
// < on. Fast+short range
|
||||
// The english default channel name for this setting is "Fast"
|
||||
|
||||
Bw31_25Cr48Sf512 = 2; // < Bw = 31.25 kHz, Cr = 4/8, Sf = 512chips/symbol,
|
||||
///< CRC on. Slow+long range
|
||||
// The english default channel name for this setting is "LongAlt"
|
||||
|
||||
Bw125Cr48Sf4096 = 3; // < Bw = 125 kHz, Cr = 4/8, Sf = 4096chips/symbol, CRC
|
||||
// < on. Slow+long range
|
||||
// < on. Slow+long range **This is the default channel settting**
|
||||
// The english default channel name for this setting is "LongRange"
|
||||
// If old applications try to set the name to "Default" we will change it to "LongRange"
|
||||
}
|
||||
|
||||
// Note: This is the 'old' mechanism for specifying channel parameters.
|
||||
|
@ -414,8 +419,10 @@ message ChannelSettings {
|
|||
// A SHORT name that will be packed into the URL. Less than 12 bytes.
|
||||
// Something for end users to call the channel
|
||||
// If this is the empty string it is assumed that this channel is the special (minimially secure) "Default"
|
||||
// channel. In user interfaces it should be rendered as a local language translation of "Default". For channel_num
|
||||
// hashing empty string will be treated as "Default"
|
||||
// channel. In user interfaces it should be rendered as a local language translation of "X". For channel_num
|
||||
// hashing empty string will be treated as "X".
|
||||
// Where "X" is selected based on the english words listed above for ModemConfig
|
||||
//
|
||||
string name = 5;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue