     }
     
     public func centralManager(central: CBCentralManager!, didRetrieveConnectedPeripherals peripherals: [AnyObject]!) {
-        println("didRetrieveConnected")
+        log.debug("didRetrieveConnected")
         if let ps = peripherals {
             for p in ps {
                 let p = p as! CBPeripheral

    }
    
    public func centralManager(central: CBCentralManager!, didDisconnectPeripheral peripheral: CBPeripheral!, error: NSError!) {
        println("disconnect")
        if let p = peripheral {
            var ep = EPLPeripheral(cbPeripheral: p)
            self.connectedPeripherals.removeValueForKey(p)

        if let p = peripheral {
            var ep = EPLPeripheral(cbPeripheral: p, advData: advertisementData)
            self.discoveredPeripherals[p] = ep
            log.debug(String(format: "didDiscover %@ (RSSI: %4.1f)", p.name, RSSI))
            self.delegate?.didDiscoverPeripherals(self)
        }
    }
    
    public func centralManager(central: CBCentralManager!, didFailToConnectPeripheral peripheral: CBPeripheral!, error: NSError!) {
        log.debug("didFailToConnectPeripheral")
        if let p = peripheral {
            var ep = EPLPeripheral(cbPeripheral: p)
            self.discoveredPeripherals.removeValueForKey(p)
