         
         guard let services = peripheral.services else { return }
         
-        for service in services where service.uuid == self.serviceId {
+        for service in services where service.uuid == self.service.uuid {
             peripheral.discoverCharacteristics(nil, for: service)
         }
     }

    
    public func addNotificationHandler(_ handler: @escaping Clink.NotificationHandler) -> Clink.NotificationRegistrationToken {
        let token = NotificationRegistrationToken()
        let connectedPeerIds = self.centralManager.retrieveConnectedPeripherals(withServices: [serviceId]).map { $0.identifier.uuidString }
        
        notificationHandlers[token] = handler
        

            switch result {
            case .error(let err): self.publish(notification: .error(err))
            case .success:
                self.peripheralManager.add(self.service)
                self.connectKnownPeers()
            }
        })
