         self.userSelectedToLeaveNetwork = nil
         self.userSelectedToUpdateFirmware = nil
 
-        self.log("dataMatrix: \(dataMatrix)")
-        self.targetDevice.type = ParticleDeviceType(serialNumber: dataMatrix.serialNumber)
-        self.log("self.targetDevice.type?.description = \(self.targetDevice.type?.description as Optional)")
-        self.targetDevice.credentials = MeshSetupPeripheralCredentials(name: self.targetDevice.type!.description + "-" + dataMatrix.serialNumber.suffix(6), mobileSecret: dataMatrix.mobileSecret)
-
-        self.stepComplete()
-
-        return nil
-    }
+
 
     //MARK: ConnectToTargetDevice
     private func stepConnectToTargetDevice() {

        }

        self.targetDevice = MeshDevice()

        //these flags are used to determine gateway subflow .. if they are set, new network is being created
        //otherwise gateway is joining the existing network so it is important to clear them
        //we cant use selected network, because that part might be reused if multiple devices are connected to same

            }
        }
    }

    private func resetFirmwareFlashFlags() {
        //reset all the important flags
        self.targetDevice.firmwareVersion = nil
        self.targetDevice.ncpVersion = nil
        self.targetDevice.ncpModuleVersion = nil
        self.targetDevice.supportsCompressedOTAUpdate = nil
        self.targetDevice.nextFirmwareBinaryURL = nil
        self.targetDevice.nextFirmwareBinaryFilePath = nil

    }
}
