mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #1267 from RCGV1/want-config-69420
Reset wantConfigRetries on disconnect
This commit is contained in:
commit
355e960359
1 changed files with 1 additions and 0 deletions
|
|
@ -255,6 +255,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
|
|||
|
||||
// Disconnect Peripheral Event
|
||||
func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: Error?) {
|
||||
resetWantConfigRetries()
|
||||
self.connectedPeripheral = nil
|
||||
self.isConnecting = false
|
||||
self.isConnected = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue