Bad Elf Flex: Windows NTRIP Setup

Bad Elf Flex: Windows NTRIP Setup

Bad Elf Flex: Windows NTRIP Setup

Introduction

If your organization requires a Windows 10 or 11 application for data collection; streaming real-time corrections with RTK via NTRIP requires an alternative workflow to the Bad Elf Flex mobile app on Android and iOS. This alternative process is necessary due to the distinct operating systems and their methods of interfacing with external GNSS receivers.

Windows requires two third-party applications: RTKLIB and GPSComplete.

This guide walks you through connecting your Windows data collection system to a Bad Elf GNSS receiver via Bluetooth, setting up the RTKLIB STRSVR NTRIP client to connect to the corrections network, and using GPSComplete to send NMEA data to your chosen data collection application.

These instructions apply to both the Bad Elf Flex and the Bad Elf Flex Mini.

The Bad Elf Flex Mini requires corrections in RTCM 3.2 format or later, including MSM4 or MSM5 messages.

Resources


Windows Configuration


Bluetooth Configuration


  1. Power on the Bad Elf receiver
  2. Starting from the Bluetooth Settings in the windows taskbar, select the option Add a Bluetooth Device
  3. Allow Windows to scan for Bluetooth devices. Your receiver appears as Bad Elf Flex or Bad Elf Flex Mini followed by the serial number
  4. Pair with your receiver accept all the standard prompts
  5. Once pairing is complete, locate the section in the Bluetooth Settings labeled “More Bluetooth Settings”
  6. Select the tab labeled “COM Ports”
  7. Identify on the list the COM port associated with your Flex receiver that has the additional identifier “SPP RFCOMM”
  8. In this example COM6 is the port used for serial communication

USB Configuration


  1. Power on the Bad Elf receiver
  2. Attach the Bad Elf receiver via a USB cable to the Windows PC
  3. Open the Windows Device Manager
  4. Select the tab labeled “Ports (COM & LPT)”
  5. Identify on the list the COM port associated with your Flex receiver that has is identified as a USB Serial Device”
  6. In this example COM8 is the port used for serial communication

RTKLIB - STRSVR.EXE Configuration


  1. Run strsvr.exe
  2. Configure the NTRIP input source - stream (0) Input
  3. Select NTRIP Client from the pulldown list
  4. Select the “...” under Opt
  5. The NTRIP Client Options dialog is shown

  1. Enter your caster domain name or IP
  2. Enter the port number
  3. If you know the Mountpoint enter it manually
  4. If you need to select a Mountpoint, click the button “Get Mountp” and select the Mountpoint from the list
  5. Enter your User ID and Password
  6. Click “OK” to finish

  1. Configure the output - stream (1)
  2. Select Serial from the pulldown list
  3. Select the “...” under Opt
  4. The Serial Options dialog is shown

  1. Using the serial port identified from Bluetooth setup, configure the dialog as shown
  2. Click “OK” to finish 
You may use a different port number but must use this port number in all places. Please use a port number that doesn’t conflict with other standard port numbers



  1. Click on the “Options” button to confirm settings
  2. Click “Ok” to finish
If you are using a VRS or network solution ensure Relay Messages is set to (1) -> (0).
For single baseline, Relay Messages can be left at “None”.

  1. Click the “Start” button to verify connection
  2. Confirm the Bytes listed for both streams are increasing and equivalent
The Bps numbers may vary between the two streams.

Configure GPSComplete


  1. Execute GPSComplete
  2. Confirm all sections indicate “Not Installed”
  3. In the section labeled GPSDirect driver, click on “Install Driver”

  1. Using the port number configured in strsrv, enter the values shown
  2. Click “Ok” to finish
  3. A dialog appears to confirm installation is complete


  1. If your application uses Windows ILocation services, no further configuration is required
  2. If your application requires a serial port connection, continue to the next step

  1. In the section labeled “COM Port driver”, click on “Install Driver”
  2. Ensure the “User Sensor” selected is GPSDirect
  3. Select the outputs RMC,GGA, GSA, GSV
  4. Click “OK” to finish
  5. Confirm driver is installed



  1. The virtual COM port created is indicated in the GPS Reverse section, in this case COM7
  2. Use this COM port in your application software to connect to the NTRIP corrected NMEA stream


  1. The strsrvr.exe application may be started from the command line or manually upon reboot or shutdown
  2. The GPSComplete configuration is only required once and does note need to be completed between reboot or shutdown





    • Related Articles

    • GNSS Surveyor: Collecting Raw Data with the Bad Elf App

      Collecting raw data with the Bad Elf app Raw logging is a feature unique to the Bad Elf GNSS Surveyor. There are two primary purposes for this capability as listed below: To collect mixed-mode NMEA/UBX files directly from the internal GPS chipset To ...
    • Collecting Raw Data With The Bad Elf App

      Collecting Raw Data With The Bad Elf App Raw logging is a feature unique to the Bad Elf GNSS Surveyor. There are two primary purposes for this capability as listed below: To collect mixed-mode NMEA/UBX files directly from the internal GPS chipset To ...
    • Offloading Raw Data Logs From The Bad Elf App

      Bad Elf Bluetooth GPS receivers can produce Raw Data logs that contain the information required for post-processing. iOS provides a variety of facilities to transfer this data to other applications such as email or cloud services. This “how to” ...
    • GNSS Surveyor: Achieving High Accuracy

      Achieving high accuracy with a Bad Elf GNSS Surveyor (BE-GPS-3300) The Bad Elf GNSS Surveyor (BE-GPS-3300) is capable of achieving positional accuracies of one meter or less when setup and configured properly. This tutorial is a guide to ensuring you ...
    • Advanced Topics: Post-Processing GNSS Data With RTKlib - Introduction

      Background and Overview RTKLib is an open-source program package for GNSS positioning. The project is packaged developed and maintained by Tomoji Takasu from the Tokyo University of Marine Science and Technology in Japan. These instructions only ...