 
 	/**
 	connect a peripheral
-	连接从设备
 
-	- parameter peripheral: a CBPeripheral instance to be connected. 待连接的从设备
-	- parameter success:    a closure called when connection established. 连接成功时执行的闭包
-	- parameter failure:    a closure called when connecting attempt failed or timed-out. 连接失败或超时时执行的闭包
-	- parameter abruption:  a closure called when connection broken-down. 连接中断时执行的闭包
+	- parameter peripheral: a CBPeripheral instance to be connected.
+	- parameter success:    a closure called when connection established.
+	- parameter failure:    a closure called when connecting attempt failed or timed-out.
+	- parameter abruption:  a closure called when connection broken-down.
 	*/
 	public func connect(_ peripheral: Peripheral, success: ((Response?) -> Void)?, failure: ((CuspError?) -> Void)?, abruption: ((CuspError?) -> Void)?) {
 

		self.centralManager.connect(peripheral.core, options: nil)

		// deal with timeout
		self.mainQ.asyncAfter(deadline: DispatchTime.now() + Double(Int64(req.timeoutPeriod * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)) { () -> Void in
			if req.timedOut {
				DispatchQueue.main.async(execute: { () -> Void in
					failure?(CuspError.timedOut)
				})
				// cancel conncect since it's timed out
				self.cancelConnection(peripheral, completion: nil)
			}
		}
	}

	}

	override internal func isEqual(_ object: Any?) -> Bool {
		guard let other = object as? ConnectRequest else { return false }
		return self.hash == other.hash
	}
}

