         assert(state == .uplinkPretestFinished, "Invalid state")
 
         state = .uplinkTestStarted
+        connect()
 
         writeLine("PUT", withTag: .txPut)
     }

        assert(state == .downlinkPretestFinished, "Invalid state")

        state = .latencyTestStarted
        
        self.latencyProgressHandler = progress
        self.latencyCompleteHandler = complete

            
            self.downlinkPretestCompleteHandler = complete
            state = .downlinkPretestStarted
            connect()
        }
    }
