         
         if let peer = peerManager.getSavedPeer(withId: peripheral.identifier) {
             self.delegate?.clink(self, didConnectPeer: peer)
+            
+            for (_, handler) in self.updateNotificationHandlers {
+                handler(.connected(peer: peer))
+            }
         }
     }
     

    
    fileprivate var localPeerData = Data()
    fileprivate var activePairingTasks = [PairingTask: PairingTaskCompletionHandler]()
    fileprivate var connectedPeerUpdateNotificationBlocks = [UUID: UpdateNotificationHandler]()
    
    fileprivate lazy var centralManager: CBCentralManager = {
        return CBCentralManager(delegate: self, queue: q)

            
            self.delegate?.clink(self, didDisconnectPeer: peer)
            self.connectedPeers.remove(at: i)
            
            for (_, handler) in self.updateNotificationHandlers {
                handler(.disconnected(peer: peer))
            }
        }
        
        self.connect(peerWithId: peripheral.identifier)
