Send want config after channels changes to get new data now that lora config does not reboot

This commit is contained in:
Garth Vander Houwen 2024-04-03 08:13:16 -07:00
parent 85b8c0b091
commit 95109a3d9d

View file

@ -1390,7 +1390,12 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
let logString = String.localizedStringWithFormat("mesh.log.lora.config.sent %@".localized, String(connectedPeripheral.num))
MeshLogger.log("📻 \(logString)")
}
return true
if self.connectedPeripheral != nil {
self.sendWantConfig()
return true
}
} catch {
return false
}