mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Set security config
This commit is contained in:
parent
1b61482c01
commit
7b4a3ec648
1 changed files with 1 additions and 0 deletions
|
|
@ -787,6 +787,7 @@ func upsertSecurityConfigPacket(config: Config.SecurityConfig, nodeNum: Int64, c
|
|||
newSecurityConfig.serialEnabled = config.serialEnabled
|
||||
newSecurityConfig.debugLogApiEnabled = config.debugLogApiEnabled
|
||||
newSecurityConfig.bluetoothLoggingEnabled = config.bluetoothLoggingEnabled
|
||||
fetchedNode[0].securityConfig = newSecurityConfig
|
||||
} else {
|
||||
fetchedNode[0].securityConfig?.publicKey = config.publicKey
|
||||
fetchedNode[0].securityConfig?.privateKey = config.privateKey
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue