go-ntrip-proxy

module
v0.0.0-...-804c168 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: MIT

README

ntrip-proxy

An ntrip forwarding tool, the main purpose is to be able to support multiple devices at the same time through an ntrip account to obtain rtk correction data.

Usage

  1. Build
make

If all goes well, it will generate the ntrip-proxy executable in the bin folder of the current directory.

  1. Configuration The default configuration file is in config/config.json in the same level as the executable. A reference example is as follows
{
  "server": {
    "host": "0.0.0.0",
    "port": 2101
  },
  "casters": [
    {
      "name": "SWIFT",
      "host": "na.l1l2.skylark.swiftnav.com",
      "port": 2101,
      "username": "Your-Username",
      "password": "Your-Password",
      "mountpoint": "RTK-RTCM31"
    }
  ],
  "log": {
    "development": true,
    "level": "info",
    "filename": "./logs/ntrip-proxy.log",
    "maxSize": 16,
    "maxBackups": 30,
    "maxAge": 7,
    "compress": false
  }
}
  1. Run
./ntrip-proxy

# or
./ntrip-proxy --config the/path/of/config.json
  1. Help
./ntrip-proxy -h

Workflow diagram

ntrip-proxy

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL