         }
     }
     
-   
 }

    optional func serialHandlerDidConnect(peripheral: CBPeripheral)
    
    /// Called when a peripheral disconnected
    optional func serialHandlerDidDisconnect(peripheral: CBPeripheral, error: NSError)
    
    /// Called when a pending connection failed
    optional func serialHandlerDidFailToConnect(peripheral: CBPeripheral, error: NSError)
    
    /// Called when a peripheral is ready for communication
    optional func serialHandlerIsReady(peripheral: CBPeripheral)


final class DZBluetoothSerialHandler: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate {
    
    //MARK: Variables
    
    /// The delegate object the DZBluetoothDelegate methods will be called upon
    var delegate: DZBluetoothSerialDelegate!
