mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Update protos
This commit is contained in:
parent
aeb69e14cc
commit
1b61482c01
2 changed files with 9 additions and 1 deletions
|
|
@ -815,6 +815,10 @@ public struct AdminMessage {
|
|||
///
|
||||
/// TODO: REPLACE
|
||||
case bluetoothConfig // = 6
|
||||
|
||||
///
|
||||
/// TODO: REPLACE
|
||||
case securityConfig // = 7
|
||||
case UNRECOGNIZED(Int)
|
||||
|
||||
public init() {
|
||||
|
|
@ -830,6 +834,7 @@ public struct AdminMessage {
|
|||
case 4: self = .displayConfig
|
||||
case 5: self = .loraConfig
|
||||
case 6: self = .bluetoothConfig
|
||||
case 7: self = .securityConfig
|
||||
default: self = .UNRECOGNIZED(rawValue)
|
||||
}
|
||||
}
|
||||
|
|
@ -843,6 +848,7 @@ public struct AdminMessage {
|
|||
case .displayConfig: return 4
|
||||
case .loraConfig: return 5
|
||||
case .bluetoothConfig: return 6
|
||||
case .securityConfig: return 7
|
||||
case .UNRECOGNIZED(let i): return i
|
||||
}
|
||||
}
|
||||
|
|
@ -966,6 +972,7 @@ extension AdminMessage.ConfigType: CaseIterable {
|
|||
.displayConfig,
|
||||
.loraConfig,
|
||||
.bluetoothConfig,
|
||||
.securityConfig,
|
||||
]
|
||||
}
|
||||
|
||||
|
|
@ -1703,6 +1710,7 @@ extension AdminMessage.ConfigType: SwiftProtobuf._ProtoNameProviding {
|
|||
4: .same(proto: "DISPLAY_CONFIG"),
|
||||
5: .same(proto: "LORA_CONFIG"),
|
||||
6: .same(proto: "BLUETOOTH_CONFIG"),
|
||||
7: .same(proto: "SECURITY_CONFIG"),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2fa7d6a4b702fcd58b54b0d1d6e4b3b85164f649
|
||||
Subproject commit 66eb3184d5651705ae62f80bf4f65b94a62e7f06
|
||||
Loading…
Add table
Add a link
Reference in a new issue