Update protobufs

This commit is contained in:
Ben Meadors 2023-07-26 06:27:36 -05:00
parent 599f7b97e4
commit 2dd99b39f0
3 changed files with 5 additions and 13 deletions

View file

@ -2109,7 +2109,7 @@ struct FromRadio {
}
///
/// MQTT Client Proxy Message
/// MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
var mqttClientProxyMessage: MqttClientProxyMessage {
get {
if case .mqttClientProxyMessage(let v)? = _storage._payloadVariant {return v}
@ -2168,7 +2168,7 @@ struct FromRadio {
/// Device metadata message
case metadata(DeviceMetadata)
///
/// MQTT Client Proxy Message
/// MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
case mqttClientProxyMessage(MqttClientProxyMessage)
#if !swift(>=4.1)
@ -2300,7 +2300,7 @@ struct ToRadio {
}
///
/// MQTT Client Proxy Message
/// MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
var mqttClientProxyMessage: MqttClientProxyMessage {
get {
if case .mqttClientProxyMessage(let v)? = payloadVariant {return v}
@ -2334,7 +2334,7 @@ struct ToRadio {
case disconnect(Bool)
case xmodemPacket(XModem)
///
/// MQTT Client Proxy Message
/// MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
case mqttClientProxyMessage(MqttClientProxyMessage)
#if !swift(>=4.1)

View file

@ -87,10 +87,6 @@ enum PortNum: SwiftProtobuf.Enum {
/// Encapsulated codec2 packets. On 2.4 GHZ Bandwidths only for now
case audioApp // = 9
///
/// Payloads for clients with a network connection proxying MQTT pub/sub to the device
case mqttClientProxyApp // = 10
///
/// Provides a 'ping' service that replies to any packet it receives.
/// Also serves as a small example module.
@ -175,7 +171,6 @@ enum PortNum: SwiftProtobuf.Enum {
case 7: self = .textMessageCompressedApp
case 8: self = .waypointApp
case 9: self = .audioApp
case 10: self = .mqttClientProxyApp
case 32: self = .replyApp
case 33: self = .ipTunnelApp
case 64: self = .serialApp
@ -205,7 +200,6 @@ enum PortNum: SwiftProtobuf.Enum {
case .textMessageCompressedApp: return 7
case .waypointApp: return 8
case .audioApp: return 9
case .mqttClientProxyApp: return 10
case .replyApp: return 32
case .ipTunnelApp: return 33
case .serialApp: return 64
@ -240,7 +234,6 @@ extension PortNum: CaseIterable {
.textMessageCompressedApp,
.waypointApp,
.audioApp,
.mqttClientProxyApp,
.replyApp,
.ipTunnelApp,
.serialApp,
@ -277,7 +270,6 @@ extension PortNum: SwiftProtobuf._ProtoNameProviding {
7: .same(proto: "TEXT_MESSAGE_COMPRESSED_APP"),
8: .same(proto: "WAYPOINT_APP"),
9: .same(proto: "AUDIO_APP"),
10: .same(proto: "MQTT_CLIENT_PROXY_APP"),
32: .same(proto: "REPLY_APP"),
33: .same(proto: "IP_TUNNEL_APP"),
64: .same(proto: "SERIAL_APP"),

View file

@ -200,7 +200,7 @@ struct EnvironmentMetrics {
var barometricPressure: Float = 0
///
/// Gas resistance in mOhm measured
/// Gas resistance in MOhm measured
var gasResistance: Float = 0
///