def METHOD_NAME(lat, lon, alt, jump_sim, contin_sim, hackrf_mode):
  if hackrf_mode:
    if not os.path.exists('hackrf'):
      print("hackrf not found run 'setup_hackrf.sh' first")
      return
    if not os.path.exists('gps-sdr-sim'):
      print("gps-sdr-sim not found run 'setup_hackrf.sh' first")
      return
    output = sp.check_output(["hackrf/host/hackrf-tools/src/hackrf_info"])
    if output.strip() == b"" or b"No HackRF boards found." in output:
      print("No HackRF boards found!")
      return
  else:
    if not os.path.exists('LimeGPS'):
      print("LimeGPS not found run 'setup.sh' first")
      return
    if not os.path.exists('LimeSuite'):
      print("LimeSuite not found run 'setup.sh' first")
      return
    output = sp.check_output(["LimeSuite/builddir/LimeUtil/LimeUtil", "--find"])
    if output.strip() == b"":
      print("No LimeSDR device found!")
      return
    print(f"Device: {output.strip().decode('utf-8')}")
  if lat == 0 and lon == 0:
    lat, lon = get_random_coords(47.2020, 15.7403)
  rinex_file = download_rinex()
  timeout = None
  if jump_sim:
    timeout = 30
  if hackrf_mode:
    run_hackRF_loop(lat, lon, rinex_file, timeout)
  else:
    run_limeSDR_loop(lat, lon, alt, contin_sim, rinex_file, timeout)