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

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

        state = .uplinkPretestStarted

        connect()
    }


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

        state = .latencyTestStarted
        connect()
        
        self.latencyProgressHandler = progress
        self.latencyCompleteHandler = complete
