@@ -24,7 +24,7 @@ public static partial class ConfigReflection {
24
24
static ConfigReflection ( ) {
25
25
byte [ ] descriptorData = global ::System . Convert . FromBase64String (
26
26
string . Concat (
27
- "ChdtZXNodGFzdGljL2NvbmZpZy5wcm90bxIKbWVzaHRhc3RpYyLJJAoGQ29u " ,
27
+ "ChdtZXNodGFzdGljL2NvbmZpZy5wcm90bxIKbWVzaHRhc3RpYyLkJAoGQ29u " ,
28
28
"ZmlnEjEKBmRldmljZRgBIAEoCzIfLm1lc2h0YXN0aWMuQ29uZmlnLkRldmlj" ,
29
29
"ZUNvbmZpZ0gAEjUKCHBvc2l0aW9uGAIgASgLMiEubWVzaHRhc3RpYy5Db25m" ,
30
30
"aWcuUG9zaXRpb25Db25maWdIABIvCgVwb3dlchgDIAEoCzIeLm1lc2h0YXN0" ,
@@ -100,7 +100,7 @@ static ConfigReflection() {
100
100
"YXRpb24SDQoJREVHUkVFU18wEAASDgoKREVHUkVFU185MBABEg8KC0RFR1JF" ,
101
101
"RVNfMTgwEAISDwoLREVHUkVFU18yNzAQAxIWChJERUdSRUVTXzBfSU5WRVJU" ,
102
102
"RUQQBBIXChNERUdSRUVTXzkwX0lOVkVSVEVEEAUSGAoUREVHUkVFU18xODBf" ,
103
- "SU5WRVJURUQQBhIYChRERUdSRUVTXzI3MF9JTlZFUlRFRBAHGt4GCgpMb1Jh " ,
103
+ "SU5WRVJURUQQBhIYChRERUdSRUVTXzI3MF9JTlZFUlRFRBAHGvkGCgpMb1Jh " ,
104
104
"Q29uZmlnEhIKCnVzZV9wcmVzZXQYASABKAgSPwoMbW9kZW1fcHJlc2V0GAIg" ,
105
105
"ASgOMikubWVzaHRhc3RpYy5Db25maWcuTG9SYUNvbmZpZy5Nb2RlbVByZXNl" ,
106
106
"dBIRCgliYW5kd2lkdGgYAyABKA0SFQoNc3ByZWFkX2ZhY3RvchgEIAEoDRIT" ,
@@ -111,27 +111,27 @@ static ConfigReflection() {
111
111
"DRIbChNvdmVycmlkZV9kdXR5X2N5Y2xlGAwgASgIEh4KFnN4MTI2eF9yeF9i" ,
112
112
"b29zdGVkX2dhaW4YDSABKAgSGgoSb3ZlcnJpZGVfZnJlcXVlbmN5GA4gASgC" ,
113
113
"EhcKD3BhX2Zhbl9kaXNhYmxlZBgPIAEoCBIXCg9pZ25vcmVfaW5jb21pbmcY" ,
114
- "ZyADKA0SEwoLaWdub3JlX21xdHQYaCABKAgizQEKClJlZ2lvbkNvZGUSCQoF " ,
115
- "VU5TRVQQABIGCgJVUxABEgoKBkVVXzQzMxACEgoKBkVVXzg2OBADEgYKAkNO " ,
116
- "EAQSBgoCSlAQBRIHCgNBTloQBhIGCgJLUhAHEgYKAlRXEAgSBgoCUlUQCRIG " ,
117
- "CgJJThAKEgoKBk5aXzg2NRALEgYKAlRIEAwSCwoHTE9SQV8yNBANEgoKBlVB " ,
118
- "XzQzMxAOEgoKBlVBXzg2OBAPEgoKBk1ZXzQzMxAQEgoKBk1ZXzkxORAREgoK " ,
119
- "BlNHXzkyMxASIqkBCgtNb2RlbVByZXNldBINCglMT05HX0ZBU1QQABINCglM " ,
120
- "T05HX1NMT1cQARIWCg5WRVJZX0xPTkdfU0xPVxACGgIIARIPCgtNRURJVU1f " ,
121
- "U0xPVxADEg8KC01FRElVTV9GQVNUEAQSDgoKU0hPUlRfU0xPVxAFEg4KClNI " ,
122
- "T1JUX0ZBU1QQBhIRCg1MT05HX01PREVSQVRFEAcSDwoLU0hPUlRfVFVSQk8Q " ,
123
- "CBqtAQoPQmx1ZXRvb3RoQ29uZmlnEg8KB2VuYWJsZWQYASABKAgSPAoEbW9k " ,
124
- "ZRgCIAEoDjIuLm1lc2h0YXN0aWMuQ29uZmlnLkJsdWV0b290aENvbmZpZy5Q " ,
125
- "YWlyaW5nTW9kZRIRCglmaXhlZF9waW4YAyABKA0iOAoLUGFpcmluZ01vZGUS " ,
126
- "DgoKUkFORE9NX1BJThAAEg0KCUZJWEVEX1BJThABEgoKBk5PX1BJThACGrYB " ,
127
- "C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EAQSDgoKU0hPUlRfU0xPVxAFEg4KClNIT1JUX0ZBU1QQBhIRCg1MT05H " ,
123
+ "X01PREVSQVRFEAcSDwoLU0hPUlRfVFVSQk8QCBqtAQoPQmx1ZXRvb3RoQ29u " ,
124
+ "ZmlnEg8KB2VuYWJsZWQYASABKAgSPAoEbW9kZRgCIAEoDjIuLm1lc2h0YXN0 " ,
125
+ "aWMuQ29uZmlnLkJsdWV0b290aENvbmZpZy5QYWlyaW5nTW9kZRIRCglmaXhl " ,
126
+ "ZF9waW4YAyABKA0iOAoLUGFpcmluZ01vZGUSDgoKUkFORE9NX1BJThAAEg0K " ,
127
+ "CUZJWEVEX1BJThABEgoKBk5PX1BJThACGrYBCg5TZWN1cml0eUNvbmZpZxIS " ,
128
+ "CgpwdWJsaWNfa2V5GAEgASgMEhMKC3ByaXZhdGVfa2V5GAIgASgMEhEKCWFk " ,
129
+ "bWluX2tleRgDIAMoDBISCgppc19tYW5hZ2VkGAQgASgIEhYKDnNlcmlhbF9l " ,
130
+ "bmFibGVkGAUgASgIEh0KFWRlYnVnX2xvZ19hcGlfZW5hYmxlZBgGIAEoCBId " ,
131
+ "ChVhZG1pbl9jaGFubmVsX2VuYWJsZWQYCCABKAgaEgoQU2Vzc2lvbmtleUNv " ,
132
+ "bmZpZ0IRCg9wYXlsb2FkX3ZhcmlhbnRCYQoTY29tLmdlZWtzdmlsbGUubWVz " ,
133
+ "aEIMQ29uZmlnUHJvdG9zWiJnaXRodWIuY29tL21lc2h0YXN0aWMvZ28vZ2Vu " ,
134
+ "ZXJhdGVkqgIUTWVzaHRhc3RpYy5Qcm90b2J1ZnO6AgBiBnByb3RvMw ==" ) ) ;
135
135
descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
136
136
new pbr ::FileDescriptor [ ] { } ,
137
137
new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
@@ -140,7 +140,7 @@ static ConfigReflection() {
140
140
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . PowerConfig ) , global ::Meshtastic . Protobufs . Config . Types . PowerConfig . Parser , new [ ] { "IsPowerSaving" , "OnBatteryShutdownAfterSecs" , "AdcMultiplierOverride" , "WaitBluetoothSecs" , "SdsSecs" , "LsSecs" , "MinWakeSecs" , "DeviceBatteryInaAddress" , "PowermonEnables" } , null , null , null , null ) ,
141
141
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . NetworkConfig ) , global ::Meshtastic . Protobufs . Config . Types . NetworkConfig . Parser , new [ ] { "WifiEnabled" , "WifiSsid" , "WifiPsk" , "NtpServer" , "EthEnabled" , "AddressMode" , "Ipv4Config" , "RsyslogServer" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Config . Types . NetworkConfig . Types . AddressMode ) } , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . NetworkConfig . Types . IpV4Config ) , global ::Meshtastic . Protobufs . Config . Types . NetworkConfig . Types . IpV4Config . Parser , new [ ] { "Ip" , "Gateway" , "Subnet" , "Dns" } , null , null , null , null ) } ) ,
142
142
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig ) , global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Parser , new [ ] { "ScreenOnSecs" , "GpsFormat" , "AutoScreenCarouselSecs" , "CompassNorthTop" , "FlipScreen" , "Units" , "Oled" , "Displaymode" , "HeadingBold" , "WakeOnTapOrMotion" , "CompassOrientation" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Types . GpsCoordinateFormat ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Types . DisplayUnits ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Types . OledType ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Types . DisplayMode ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . DisplayConfig . Types . CompassOrientation ) } , null , null ) ,
143
- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig ) , global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Parser , new [ ] { "UsePreset" , "ModemPreset" , "Bandwidth" , "SpreadFactor" , "CodingRate" , "FrequencyOffset" , "Region" , "HopLimit" , "TxEnabled" , "TxPower" , "ChannelNum" , "OverrideDutyCycle" , "Sx126XRxBoostedGain" , "OverrideFrequency" , "PaFanDisabled" , "IgnoreIncoming" , "IgnoreMqtt" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Types . RegionCode ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Types . ModemPreset ) } , null , null ) ,
143
+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig ) , global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Parser , new [ ] { "UsePreset" , "ModemPreset" , "Bandwidth" , "SpreadFactor" , "CodingRate" , "FrequencyOffset" , "Region" , "HopLimit" , "TxEnabled" , "TxPower" , "ChannelNum" , "OverrideDutyCycle" , "Sx126XRxBoostedGain" , "OverrideFrequency" , "PaFanDisabled" , "IgnoreIncoming" , "IgnoreMqtt" , "ConfigOkToMqtt" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Types . RegionCode ) , typeof ( global ::Meshtastic . Protobufs . Config . Types . LoRaConfig . Types . ModemPreset ) } , null , null ) ,
144
144
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . BluetoothConfig ) , global ::Meshtastic . Protobufs . Config . Types . BluetoothConfig . Parser , new [ ] { "Enabled" , "Mode" , "FixedPin" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Config . Types . BluetoothConfig . Types . PairingMode ) } , null , null ) ,
145
145
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . SecurityConfig ) , global ::Meshtastic . Protobufs . Config . Types . SecurityConfig . Parser , new [ ] { "PublicKey" , "PrivateKey" , "AdminKey" , "IsManaged" , "SerialEnabled" , "DebugLogApiEnabled" , "AdminChannelEnabled" } , null , null , null , null ) ,
146
146
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Config . Types . SessionkeyConfig ) , global ::Meshtastic . Protobufs . Config . Types . SessionkeyConfig . Parser , null , null , null , null , null ) } )
@@ -4536,6 +4536,7 @@ public LoRaConfig(LoRaConfig other) : this() {
4536
4536
paFanDisabled_ = other . paFanDisabled_ ;
4537
4537
ignoreIncoming_ = other . ignoreIncoming_ . Clone ( ) ;
4538
4538
ignoreMqtt_ = other . ignoreMqtt_ ;
4539
+ configOkToMqtt_ = other . configOkToMqtt_ ;
4539
4540
_unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
4540
4541
}
4541
4542
@@ -4847,6 +4848,22 @@ public bool IgnoreMqtt {
4847
4848
}
4848
4849
}
4849
4850
4851
+ /// <summary>Field number for the "config_ok_to_mqtt" field.</summary>
4852
+ public const int ConfigOkToMqttFieldNumber = 105 ;
4853
+ private bool configOkToMqtt_ ;
4854
+ /// <summary>
4855
+ ///
4856
+ /// Sets the ok_to_mqtt bit on outgoing packets
4857
+ /// </summary>
4858
+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
4859
+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
4860
+ public bool ConfigOkToMqtt {
4861
+ get { return configOkToMqtt_ ; }
4862
+ set {
4863
+ configOkToMqtt_ = value ;
4864
+ }
4865
+ }
4866
+
4850
4867
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
4851
4868
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
4852
4869
public override bool Equals ( object other ) {
@@ -4879,6 +4896,7 @@ public bool Equals(LoRaConfig other) {
4879
4896
if ( PaFanDisabled != other . PaFanDisabled ) return false ;
4880
4897
if ( ! ignoreIncoming_ . Equals ( other . ignoreIncoming_ ) ) return false ;
4881
4898
if ( IgnoreMqtt != other . IgnoreMqtt ) return false ;
4899
+ if ( ConfigOkToMqtt != other . ConfigOkToMqtt ) return false ;
4882
4900
return Equals ( _unknownFields , other . _unknownFields ) ;
4883
4901
}
4884
4902
@@ -4903,6 +4921,7 @@ public override int GetHashCode() {
4903
4921
if ( PaFanDisabled != false ) hash ^= PaFanDisabled . GetHashCode ( ) ;
4904
4922
hash ^= ignoreIncoming_ . GetHashCode ( ) ;
4905
4923
if ( IgnoreMqtt != false ) hash ^= IgnoreMqtt . GetHashCode ( ) ;
4924
+ if ( ConfigOkToMqtt != false ) hash ^= ConfigOkToMqtt . GetHashCode ( ) ;
4906
4925
if ( _unknownFields != null ) {
4907
4926
hash ^= _unknownFields . GetHashCode ( ) ;
4908
4927
}
@@ -4986,6 +5005,10 @@ public void WriteTo(pb::CodedOutputStream output) {
4986
5005
output . WriteRawTag ( 192 , 6 ) ;
4987
5006
output . WriteBool ( IgnoreMqtt ) ;
4988
5007
}
5008
+ if ( ConfigOkToMqtt != false ) {
5009
+ output . WriteRawTag ( 200 , 6 ) ;
5010
+ output . WriteBool ( ConfigOkToMqtt ) ;
5011
+ }
4989
5012
if ( _unknownFields != null ) {
4990
5013
_unknownFields . WriteTo ( output ) ;
4991
5014
}
@@ -5061,6 +5084,10 @@ public void WriteTo(pb::CodedOutputStream output) {
5061
5084
output . WriteRawTag ( 192 , 6 ) ;
5062
5085
output . WriteBool ( IgnoreMqtt ) ;
5063
5086
}
5087
+ if ( ConfigOkToMqtt != false ) {
5088
+ output . WriteRawTag ( 200 , 6 ) ;
5089
+ output . WriteBool ( ConfigOkToMqtt ) ;
5090
+ }
5064
5091
if ( _unknownFields != null ) {
5065
5092
_unknownFields . WriteTo ( ref output ) ;
5066
5093
}
@@ -5120,6 +5147,9 @@ public int CalculateSize() {
5120
5147
if ( IgnoreMqtt != false ) {
5121
5148
size += 2 + 1 ;
5122
5149
}
5150
+ if ( ConfigOkToMqtt != false ) {
5151
+ size += 2 + 1 ;
5152
+ }
5123
5153
if ( _unknownFields != null ) {
5124
5154
size += _unknownFields . CalculateSize ( ) ;
5125
5155
}
@@ -5181,6 +5211,9 @@ public void MergeFrom(LoRaConfig other) {
5181
5211
if ( other . IgnoreMqtt != false ) {
5182
5212
IgnoreMqtt = other . IgnoreMqtt ;
5183
5213
}
5214
+ if ( other . ConfigOkToMqtt != false ) {
5215
+ ConfigOkToMqtt = other . ConfigOkToMqtt ;
5216
+ }
5184
5217
_unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
5185
5218
}
5186
5219
@@ -5265,6 +5298,10 @@ public void MergeFrom(pb::CodedInputStream input) {
5265
5298
IgnoreMqtt = input . ReadBool ( ) ;
5266
5299
break ;
5267
5300
}
5301
+ case 840 : {
5302
+ ConfigOkToMqtt = input . ReadBool ( ) ;
5303
+ break ;
5304
+ }
5268
5305
}
5269
5306
}
5270
5307
#endif
@@ -5349,6 +5386,10 @@ public void MergeFrom(pb::CodedInputStream input) {
5349
5386
IgnoreMqtt = input . ReadBool ( ) ;
5350
5387
break ;
5351
5388
}
5389
+ case 840 : {
5390
+ ConfigOkToMqtt = input . ReadBool ( ) ;
5391
+ break ;
5392
+ }
5352
5393
}
5353
5394
}
5354
5395
}
0 commit comments