1 | ****************************
|
---|
2 | * Ntrip 2.0 Server Version *
|
---|
3 | ****************************
|
---|
4 |
|
---|
5 | INTRODUCTION
|
---|
6 |
|
---|
7 | This program is made available with the intention to support the development
|
---|
8 | of NTRIP Version 2.0. Please keep in mind that - as of March 2007 - details
|
---|
9 | of the NTRIP Version 2.0 transport protocol are still under discussion.
|
---|
10 |
|
---|
11 |
|
---|
12 | PURPOSE
|
---|
13 |
|
---|
14 | The purpose of this program is to pick up a GNSS data stream (Input, Source)
|
---|
15 | from either
|
---|
16 |
|
---|
17 | 1. a Serial port, or
|
---|
18 | 2. an IP server, or
|
---|
19 | 3. a File, or
|
---|
20 | 4. a SISNeT Data Server, or
|
---|
21 | 5. a UDP server, or
|
---|
22 | 6. an NTRIP Version 1.0 Caster
|
---|
23 |
|
---|
24 | and forward that incoming stream to either
|
---|
25 |
|
---|
26 | - an NTRIP Version 1.0 Caster, or
|
---|
27 | - an NTRIP Version 2.0 Caster via TCP/IP or RTSP/RTP (Output, Destination).
|
---|
28 |
|
---|
29 |
|
---|
30 | LIMITATIONS
|
---|
31 |
|
---|
32 | The draft for NTRIP Version 2.0 includes a function for source-table
|
---|
33 | filterning. This is so far not implemented.
|
---|
34 |
|
---|
35 |
|
---|
36 | INSTALLATION
|
---|
37 |
|
---|
38 | - gzip -d Ntrip2LinuxServer-0.3b.tar.gz
|
---|
39 | - tar -xf Ntrip2LinuxServer-0.3b.tar
|
---|
40 | - cd Ntrip2LinuxServer-0.3b
|
---|
41 | - ./configure
|
---|
42 | - make
|
---|
43 |
|
---|
44 |
|
---|
45 | OPTIONS
|
---|
46 |
|
---|
47 | -h|? print this help screen
|
---|
48 |
|
---|
49 | -E <ProxyHost> Proxy server host name or address, required i.e. when
|
---|
50 | running the program in a proxy server protected LAN,
|
---|
51 | optional
|
---|
52 | -F <ProxyPort> Proxy server IP port, required i.e. when running
|
---|
53 | the program in a proxy server protected LAN, optional
|
---|
54 |
|
---|
55 | -I <InputMode> Sets the input mode (1 = Serial Port, 2 = IP server,
|
---|
56 | 3 = File, 4 = Sisnet Data Server, 5 = UDP server, 6 = NTRIP Caster),
|
---|
57 | mandatory
|
---|
58 |
|
---|
59 | <InputMode> = 1 (Serial Port):
|
---|
60 | -i <Device> Serial input device, default: /dev/gps, mandatory if
|
---|
61 | <InputMode>=1
|
---|
62 | -b <BaudRate> Serial input baud rate, default: 19200 bps, mandatory
|
---|
63 | if <InputMode>=1
|
---|
64 |
|
---|
65 | <InputMode> = 2|5 (IP port | UDP port):
|
---|
66 | -H <ServerHost> Input host name or address, default: 127.0.0.1,
|
---|
67 | mandatory if <InputMode> = 2|5
|
---|
68 | -P <ServerPort> Input port, default: 1025, mandatory if <InputMode> = 2|5
|
---|
69 | -f <ServerFile> Name of initialization file to be send to server,
|
---|
70 | optional
|
---|
71 | -x <ServerUser> User ID to access incoming stream, optional
|
---|
72 | -y <ServerPass> Password, to access incoming stream, optional
|
---|
73 | -B Bind to incoming UDP stream, optional for <InputMode> = 5
|
---|
74 |
|
---|
75 | <InputMode> = 3 (File):
|
---|
76 | -s <File> File name to simulate stream by reading data from (log)
|
---|
77 | file, default is /dev/stdin, mandatory for <InputMode> = 3
|
---|
78 |
|
---|
79 | <InputMode> = 4 (Sisnet Data Server):
|
---|
80 | -H <SisnetHost> Sisnet Data Server name or address,
|
---|
81 | default: 131.176.49.142, mandatory if <InputMode> = 4
|
---|
82 | -P <SisnetPort> Sisnet Data Server port, default: 7777, mandatory if
|
---|
83 | <InputMode> = 4
|
---|
84 | -u <SisnetUser> Sisnet Data Server user ID, mandatory if <InputMode> = 4
|
---|
85 | -l <SisnetPass> Sisnet Data Server password, mandatory if <InputMode> = 4
|
---|
86 | -V <SisnetVers> Sisnet Data Server Version number, options are 2.1, 3.0
|
---|
87 | or 3.1, default: 3.1, mandatory if <InputMode> = 4
|
---|
88 |
|
---|
89 | <InputMode> = 6 (NTRIP Version 1.0 Caster):
|
---|
90 | -H <SourceHost> Source caster name or address, default: 127.0.0.1,
|
---|
91 | mandatory if <InputMode> = 6
|
---|
92 | -P <SourcePort> Source caster port, default: 2101, mandatory if
|
---|
93 | <InputMode> = 6
|
---|
94 | -D <SourceMount> Source caster mountpoint for stream input, mandatory if
|
---|
95 | <InputMode> = 6
|
---|
96 | -U <SourceUser> Source caster user Id for input stream access, mandatory
|
---|
97 | for protected streams if <InputMode> = 6
|
---|
98 | -W <SourcePass> Source caster password for input stream access, mandatory
|
---|
99 | for protected streams if <InputMode> = 6
|
---|
100 |
|
---|
101 | -O <OutputMode> Sets the output mode for communatation with the destination
|
---|
102 | caster (r = NTRIP Version 2.0 Caster in RTSP/RTP mode, t = Ntrip Version 2.0
|
---|
103 | Caster in TCP/IP mode, f = NTRIP Version 1.0 Caster), mandatory
|
---|
104 |
|
---|
105 | Note that the program automatically falls back from mode r to mode t and
|
---|
106 | further to mode f if necessary.
|
---|
107 |
|
---|
108 | -a <DestHost> Destination caster name or address, default: 127.0.0.1,
|
---|
109 | mandatory
|
---|
110 | -p <DestPort> Destination caster port, default: 2101, mandatory
|
---|
111 | -m <DestMount> Destination caster mountpoint for stream upload,
|
---|
112 | mandatory
|
---|
113 | -n <DestUser> Destination caster user ID for stream upload to
|
---|
114 | mountpoint, only for NTRIP Version 2.0 destination
|
---|
115 | casters, mandatory
|
---|
116 | -c <DestPass> Destination caster password for stream upload to
|
---|
117 | mountpoint, mandatory
|
---|
118 | -N <STR-record> Sourcetable STR-record, optional for <OutputMode> = t|r
|
---|
119 |
|
---|
120 | USAGE, EXAMPLES
|
---|
121 |
|
---|
122 | ./Ntrip2LinuxServer -I 1 -i /dev/ttys0 -b 9600
|
---|
123 | -O r -a www.euref-ip.net -p 2101 -m Mount2 -n serverID -c serverPass
|
---|
124 | ./Ntrip2LinuxServer -I 6 -H www.euref-ip.net -P 2101 -D Mount1 -U clientID -W clientPass
|
---|
125 | -O t -a www.igs-ip.net -p 2101 -m Mount2 -n serverID -c serverPass
|
---|
126 |
|
---|
127 |
|
---|
128 | CONTACT
|
---|
129 |
|
---|
130 | Andrea Stuerze, BKG, Frankfurt
|
---|
131 | URL: http://igs.bkg.bund.de/index_ntrip.htm
|
---|
132 | E-mail: euref-ip@bkg.bund.de
|
---|
133 |
|
---|