     }
     
     public func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral) {
-        print("centralManager: didConnect")
+        print("SwiftyTeeth: centralManager: didConnect")
         connectedDevices[peripheral.identifier.uuidString]?.didConnect()
     }
     
     public func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error: Error?) {
-        print("centralManager: didFailToConnect")
+        print("SwiftyTeeth: centralManager: didFailToConnect")
         connectedDevices[peripheral.identifier.uuidString]?.didDisconnect()
     }
     
     public func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: Error?) {
-        print("centralManager: didDisconnect")
+        print("SwiftyTeeth: centralManager: didDisconnect")
         connectedDevices[peripheral.identifier.uuidString]?.didDisconnect()
     }
     

}


// MARK: - Peripheral functions
extension SwiftyTeeth {

    open func readValue(for characteristic: UUID, complete: (CBCharacteristic) -> Void) {
        //TODO
    }

    open func write(data: NSData, for characteristic: UUID, complete: (CBCharacteristic) -> Void) {
        //TODO
    }
}

// MARK: - Central manager
extension SwiftyTeeth: CBCentralManagerDelegate {

    public func centralManagerDidUpdateState(_ central: CBCentralManager) {
        switch (central.state) {
        case .unknown:
            print("Bluetooth state is unknown.")
        case .resetting:
            print("Bluetooth state is resetting.")
        case .unsupported:
            print("Bluetooth state is unsupported.")
        case .unauthorized:
            print("Bluetooth state is unauthorized.")
        case .poweredOff:
            print("Bluetooth state is powered off.")
        case .poweredOn:
            print("Bluetooth state is powered on")
        }
    }
    



// MARK: - Internal Connection functions
internal extension SwiftyTeeth {
    
    // Using these internal functions, so that we can track devices 'in use'
    func connect(to device: Device) {
        // Add device to dictionary only if it isn't there
        if connectedDevices[device.id] == nil {
            connectedDevices[device.id] = device
