source: ntrip/trunk/BNC/bnchelp.html@ 2121

Last change on this file since 2121 was 2121, checked in by mervart, 15 years ago

* empty log message *

File size: 104.9 KB
Line 
1<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
2<h3>BKG Ntrip Client (BNC) Version 2.0</h3>
3
4<p>
5The BKG Ntrip Client (BNC) is a program for simultaneously retrieving, decoding and converting real-time GNSS data streams from NTRIP broadcasters like <u>http://www.euref-ip.net/home</u> or <u>http://www.igs-ip.net/home</u>.
6</p>
7
8<p>
9BNC has been developed for the Federal Agency for Cartography and Geodesy (BKG) within the framework of EUREF's Real-time GNSS Project (EUREF-IP, IP for Internet Protocol) and the Real-Time IGS Pilot Project (RTIGS).
10</p>
11
12<p>
13BNC has been written under GNU General Public License (GPL). Binaries for BNC are available for Windows, 32-bit Linux, 64-bit Linux (compiled under -m32 32-bit compatibility mode), Solaris, and Mac systems. We used the MinGW Version 5.1.3 compiler to create the Windows binary. It is likely that BNC can be compiled on other systems where a GNU compiler and Qt Version 4.5.2 are installed.
14</p>
15
16<p>
17Please ensure that you have installed the latest version of BNC available from <u>http://igs.bkg.bund.de/index_ntrip_down.htm</u>. We are continuously working on the program and would appreciate if you could send any comments, suggestions, or bug reports to [euref-ip@bkg.bund.de] or [igs-ip@bkg.bund.de].
18</p>
19
20<h3>Contents</h3>
21<p>
22<h4>
23<a href=#purpose>1. Purpose</a><br>
24<a href=#resources>2. Modes &amp; Resources</a><br>
25<a href=#options>3. Options</a><br>
26<a href=#limits>4. Limitations</a><br>
27<a href=#authors>5. Authors</a><br>
28<a href=#annex>6. Annex</a><br>
29</h4>
30</p>
31
32<p><a name="purpose"><h3>1. Purpose</h3></p>
33
34<p> The purpose of BNC is to
35
36<ul>
37<li>retrieve real-time GNSS data streams available through NTRIP transport protocol,</li>
38<li>retrieve real-time GNSS data streams via TCP directly from an IP address without using the NTRIP transport protocol, and/or</li>
39<li>retrieve real-time GNSS data streams from a local UDP or serial port without using the NTRIP transport protocol, and/or</li>
40<li>generate high-rate RINEX Observation and Navigation files to support near real-time GNSS post-processing applications, and/or</li>
41<li>generate ephemeris and synchronized or unsynchronized observations epoch by epoch through an IP port to support real-time GNSS network engines, and/or</li>
42<li>generate clock and orbit corrections to broadcast ephemeris through an IP port to support real-time Precise Point Positioning on GNSS rovers, and/or</li>
43<li>generate synchronized clock and orbit corrections to broadcast ephemeris epoch by epoch through an IP port to support the combination of such streams as coming simultaneously from various correction providers, and/or</li>
44<li>monitor the performance of a network of real-time GNSS data streams to generate advisory notes, and/or</li>
45<li>scan RTCM streams for incoming antenna information as well as message types and their repetition rates, and/or</li>
46<li>feed a stream into a GNSS receiver via serial communication link, and/or</li>
47<li>carry out a real-time Precise Point Positioning to determine a GNSS rover position.</li>
48</ul>
49</p>
50<p>
51BNC supports decoding the following GNSS data formats:
52</p>
53<p>
54<ul>
55<li>RTCM Version 2.x containing message types 18 and 19 or 20 and 21 together with 3 and 22 (GPS and GLONASS), </li>
56<li>RTCM Version 3.x containing message types 1002 (GPS, SBAS) or 1004 (GPS), 1010 or 1012 (GLONASS), 1019 or 1020 (broadcast ephemeris), 1057-1068 (premature State Space Representation messages for GPS and GLONASS)</li>
57<li>RTIGS containing GPS record types 200 (observations) and 300 (ephemeris).</li>
58</ul>
59BNC allows to by-pass its decoding and conversion algorithms, leave whatever is received untouched and save it in files.
60</p>
61<p><a name="resources"><h3>2. Modes &amp; Resources</h3></p>
62<p>
63Although BNC is a real-time tool to be operated in online mode, it can be run offline for post processing of data made availabe from a file. Furthermore, apart from its regular window mode, BNC can be run as a batch/background job in a 'no window' mode using processing options from previously saved configuration.
64</p>
65<p>
66Unless in offline mode, BNC
67</p>
68<ul>
69<li>requires access to the Internet with a minimum of about 2 to 6 kbits/sec per stream depending on the stream format and the number of visible satellites. You need to make sure that the connection can sustain the required bandwidth.</li>
70<li>requires the clock of the host computer to be properly synchronized.</li>
71<li>has the capacity to retrieve hundreds of GNSS data streams simultaneously. Please be aware that such usage may incur a heavy load on the NTRIP broadcaster side depending on the number of streams requested. We recommend limiting the number of streams where possible to avoid unnecessary workload.</li>
72</ul>
73</p>
74
75<p><a name="options"><h3>3. Options</h3></p>
76<p>
77This section describes BNC's top menu bar, its processing options and bottom menu bar.
78</p>
79<p>
80The usual handling of BNC is that you first select a number of streams ('Add Stream'). Any stream configured to BNC shows up on the 'Streams' canvas in the middle of BNC's main window. You then go through BNC's various configuration tabs to select a combination of input, processing and output options before you start the program ('Start'). Records of BNC's activities are shown in the 'Log' tab and bandwidth consumtion per stream in the 'Throughput' tab on the bottom of the main window.
81</p>
82<p>
83As a default, configuration files for running BNC on Unix/Linux/Mac systems are saved in directory '${HOME}/.config/BKG'. On Windows systems, they are typically saved in directory 'C:/Documents and Settings/Username/.config/BKG'. The default configuration file name is 'BNC.ini'.</p>
84<p>
85The default file name 'BNC.ini' can be changed and the file contents can easily be edited. On graphical user interfaces it is possible to Drag &amp; Drop a configuration file icon to start BNC. Some configuration options can be changed on-the-fly. See annexed 'Configuration Example' for a complete set of configuration options.
86</p>
87<p>
883.1. <a href=#topmenu>Top Menu Bar</a><br>
893.1.1 <a href=#file>File</a><br>
903.1.2 <a href=#help>Help</a><br>
913.2. <a href=#proxy>Proxy</a><br>
923.3. <a href=#general>General</a><br>
93&nbsp; &nbsp; &nbsp; 3.3.1. <a href=#genlog>Logfile</a><br>
94&nbsp; &nbsp; &nbsp; 3.3.2. <a href=#genapp>Append Files</a><br>
95&nbsp; &nbsp; &nbsp; 3.3.3. <a href=#genconf>Reread Configuration</a><br>
96&nbsp; &nbsp; &nbsp; 3.3.4. <a href=#genstart>Auto Start</a><br>
973.4. <a href=#rinex>RINEX Observations</a><br>
98&nbsp; &nbsp; &nbsp; 3.4.1. <a href=#rnxname>File Names</a><br>
99&nbsp; &nbsp; &nbsp; 3.4.2. <a href=#rnxdir>Directory</a><br>
100&nbsp; &nbsp; &nbsp; 3.4.3. <a href=#rnxinterval>File Interval</a><br>
101&nbsp; &nbsp; &nbsp; 3.4.4. <a href=#rnxsample>Sampling</a><br>
102&nbsp; &nbsp; &nbsp; 3.4.5. <a href=#rnxskl>Skeleton Extension</a><br>
103&nbsp; &nbsp; &nbsp; 3.4.6. <a href=#rnxscript>Script</a><br>
104&nbsp; &nbsp; &nbsp; 3.4.7. <a href=#rnxvers>Version</a><br>
1053.5. <a href=#ephemeris>RINEX Ephemeris</a><br>
106&nbsp; &nbsp; &nbsp; 3.5.1. <a href=#ephdir>Directory</a><br>
107&nbsp; &nbsp; &nbsp; 3.5.2. <a href=#ephint>Interval</a><br>
108&nbsp; &nbsp; &nbsp; 3.5.3. <a href=#ephport>Port</a><br>
109&nbsp; &nbsp; &nbsp; 3.5.4. <a href=#ephvers>Version</a><br>
1103.6. <a href=#correct>Broadcast Corrections</a><br>
111&nbsp; &nbsp; &nbsp; 3.6.1. <a href=#corrdir>Directory</a><br>
112&nbsp; &nbsp; &nbsp; 3.6.2. <a href=#corrint>Interval</a><br>
113&nbsp; &nbsp; &nbsp; 3.6.3. <a href=#corrport>Port</a><br>
114&nbsp; &nbsp; &nbsp; 3.6.4. <a href=#corrwait>Wait for Full Epoch</a><br>
1153.7. <a href=#syncout>Feed Engine</a><br>
116&nbsp; &nbsp; &nbsp; 3.7.1. <a href=#syncport>Port</a><br>
117&nbsp; &nbsp; &nbsp; 3.7.2. <a href=#syncwait>Wait for Full Epoch</a><br>
118&nbsp; &nbsp; &nbsp; 3.7.3. <a href=#syncsample>Sampling</a><br>
119&nbsp; &nbsp; &nbsp; 3.7.4. <a href=#syncfile>File</a><br>
120&nbsp; &nbsp; &nbsp; 3.7.5. <a href=#syncuport>Port (unsynchronized)</a><br>
1213.8. <a href=#serial>Serial Output</a><br>
122&nbsp; &nbsp; &nbsp; 3.8.1. <a href=#sermount>Mountpoint</a><br>
123&nbsp; &nbsp; &nbsp; 3.8.2. <a href=#serport>Port Name</a><br>
124&nbsp; &nbsp; &nbsp; 3.8.3. <a href=#serbaud>Baud Rate</a><br>
125&nbsp; &nbsp; &nbsp; 3.8.4. <a href=#serflow>Flow Control</a><br>
126&nbsp; &nbsp; &nbsp; 3.8.5. <a href=#serparity>Parity</a><br>
127&nbsp; &nbsp; &nbsp; 3.8.6. <a href=#serdata>Data Bits</a><br>
128&nbsp; &nbsp; &nbsp; 3.8.7. <a href=#serstop>Stop Bits</a><br>
129&nbsp; &nbsp; &nbsp; 3.8.8. <a href=#serauto>NMEA</a><br>
130&nbsp; &nbsp; &nbsp; 3.8.9. <a href=#serfile>File</a><br>
131&nbsp; &nbsp; &nbsp; 3.8.10. <a href=#serheight>Height</a><br>
1323.9. <a href=#advnote>Outages</a><br>
133&nbsp; &nbsp; &nbsp; 3.9.1. <a href=#obsrate>Observation Rate</a><br>
134&nbsp; &nbsp; &nbsp; 3.9.2. <a href=#advfail>Failure Threshold</a><br>
135&nbsp; &nbsp; &nbsp; 3.9.3. <a href=#advreco>Recovery Threshold</a><br>
136&nbsp; &nbsp; &nbsp; 3.9.4. <a href=#advscript>Script</a><br>
1373.10. <a href=#misc>Miscellaneous</a><br>
138&nbsp; &nbsp; &nbsp; 3.10.1. <a href=#miscmount>Mountpoint</a><br>
139&nbsp; &nbsp; &nbsp; 3.10.2. <a href=#miscperf>Log Latency</a><br>
140&nbsp; &nbsp; &nbsp; 3.10.3. <a href=#miscscan>Scan RTCM</a><br>
1413.11. <a href=#pppclient>PPP Client</a><br>
142&nbsp; &nbsp; &nbsp; 3.11.1 <a href=#pppmount>Mountpoint</a><br>
143&nbsp; &nbsp; &nbsp; 3.11.2 <a href=#pppstatic>Static</a><br>
144&nbsp; &nbsp; &nbsp; 3.11.3 <a href=#pppphase>Use Phase Obs</a><br>
145&nbsp; &nbsp; &nbsp; 3.11.4 <a href=#ppptropo>Estimate Tropo</a><br>
1463.12. <a href=#streams>Streams</a><br>
147&nbsp; &nbsp; &nbsp; 3.12.1 <a href=#streamedit>Edit Streams</a><br>
148&nbsp; &nbsp; &nbsp; 3.12.2 <a href=#streamdelete>Delete Stream</a><br>
149&nbsp; &nbsp; &nbsp; 3.12.3 <a href=#streamconf>Reconfigure Streams On-the-fly</a><br>
1503.13. <a href=#logs>Logging</a><br>
151&nbsp; &nbsp; &nbsp; 3.13.1 <a href=#logfile>Log</a><br>
152&nbsp; &nbsp; &nbsp; 3.13.2 <a href=#throughput>Throughput</a><br>
153&nbsp; &nbsp; &nbsp; 3.13.3 <a href=#latency>Latency</a><br>
1543.14. <a href=#bottom>Bottom Menu Bar</a><br>
155&nbsp; &nbsp; &nbsp; 3.14.1. <a href=#streamadd>Add Stream - Coming from Caster</a><br>
156&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.1 <a href=#streamhost>Caster Host and Port</a><br>
157&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.2 <a href=#streamtable>Casters Table</a><br>
158&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.3 <a href=#streamuser>User and Password</a><br>
159&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.4 <a href=#gettable>Get Table</a><br>
160&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.5 <a href=#ntripv>NTRIP Version</a><br>
161&nbsp; &nbsp; &nbsp; 3.14.2 <a href=#streamip>Add Stream - Coming from TCP/IP Port</a><br>
162&nbsp; &nbsp; &nbsp; 3.14.3 <a href=#streamudp>Add Stream - Coming from UDP Port</a><br>
163&nbsp; &nbsp; &nbsp; 3.14.4 <a href=#streamser>Add Stream - Coming from Serial Port</a><br>
164&nbsp; &nbsp; &nbsp; 3.14.5 <a href=#start>Start</a><br>
165&nbsp; &nbsp; &nbsp; 3.14.6 <a href=#stop>Stop</a><br>
1663.15. <a href=#cmd>Command Line Options</a><br>
167&nbsp; &nbsp; &nbsp; 3.15.1. <a href=#nw>No Window Mode</a><br>
168&nbsp; &nbsp; &nbsp; 3.15.2. <a href=#post>Offline Mode</a><br>
169&nbsp; &nbsp; &nbsp; 3.15.3. <a href=#conffile>Configuration File</a><br>
170</p>
171
172<p><a name="topmenu"><h4>3.1. Top Menu Bar</h4></p>
173<p>
174The top menu bar allows to select a font for the BNC windows, save configured options or quit the program execution. It also provides access to a program documentation.
175</p>
176
177<p><a name="file"><h4>3.1.1 File</h4></p>
178
179<p>
180The 'File' button lets you
181<ul>
182<li> select an appropriate font.<br>
183Use smaller font size if the BNC main window exceeds the size of your screen.
184</li>
185<li> save selected options in configuration file.<br>
186When using 'Save &amp; Reread Configuration' while BNC is already processing data, some configuration options become immediately effective on-the-fly without interrupting uninvolved threads. See annexed section 'Configuration Example' for a list of on-the-fly changeable configuration options.
187</li>
188<li> quit the BNC program.
189</li>
190</ul>
191</p>
192
193<p><a name="help"><h4>3.1.2 Help</h4></p>
194
195<p>
196The 'Help' button provides access to
197<ul>
198<li>
199help contents.<br>
200You may keep the 'Help Contents' window open while configuring BNC.
201</li>
202<li>
203a 'Flow Chart' showing BNC linked to a real-time GNSS network engine such as RTNet.
204</li>
205<li>
206general information about BNC.<br>
207Close the 'About BNC' window to continue working with BNC.
208</li>
209</ul>
210</p>
211<p>
212BNC comes with a help system providing online information about its functionality and usage. Short descriptions are available for any widget. Focus to the relevant widget and press Shift+F1 to request help information. A help text appears immediately; it disappears as soon as the user does something else. The dialogs on some operating systems may provide a &quot;?&quot; button that users can click; they then click the relevant widget to pop up the help text.
213</p>
214
215<p><a name="proxy"><h4>3.2. Proxy - for usage in a protected LAN</h4></p>
216
217<p>
218If you are running BNC within a protected Local Area Network (LAN), you might need to use a proxy server to access the Internet. Enter your proxy server IP and port number in case one is operated in front of BNC. If you don't know the IP and port of your proxy server, check the proxy server settings in your Internet browser or ask your network administrator.</p>
219<p>
220Note that IP streaming is often not allowed in a LAN. In this case you need to ask your network administrator for an appropriate modification of the local security policy or for the installation of a TCP relay to the NTRIP broadcasters. If these are not possible, you might need to run BNC outside your LAN on a host that has unobstructed connection to the Internet.
221</p>
222<p><a name="general"><h4>3.3. General</h4></p>
223<p>
224The following defines general settings for BNC's logfile, file handling, reconfiguration on-the-fly, and auto-start.
225</p>
226
227<p><a name="genlog"><h4>3.3.1 Logfile - optional</h4></p>
228<p>
229Records of BNC's activities are shown in the 'Log' tab on the bottom of the main window. These logs can be saved into a file when a valid path is specified in the 'Logfile (full path)' field. The logfile name will automatically be extended by a string '_YYMMDD' carrying the current date. This leads to series of daily logfiles when running BNC continuously for extended. Message logs cover the communication status between BNC and the NTRIP broadcaster as well as problems that may occur in the communication link, stream availability, stream delay, stream conversion etc. All times are given in UTC. The default value for 'Logfile (full path)' is an empty option field, meaning that BNC logs will not saved into a file.
230</p>
231
232<p><a name="genapp"><h4>3.3.2 Append Files - optional</h4></p>
233<p>
234When BNC is started, new files are created by default and any existing files with the same name will be overwritten. However, users might want to append existing files following a restart of BNC, a system crash or when BNC crashed. Tick 'Append files' to continue with existing files and keep what has been recorded so far. Note that option 'Append files' affects all types of files created by BNC.
235</p>
236
237<p><a name="genconf"><h4>3.3.3 Reread Configuration - optional</h4></p>
238<p>
239When operating BNC online in 'no window' mode (command line option -nw), some configuration options can nevertheless be changed on-the-fly without interrupting the running process. For that you force the program to reread parts of its configuration in pre-defined intervals from the disk. Select '1 min', '1 hour', or '1 day' to let BNC reread on-the-fly changeable configuration options every full minute, hour, or day. This lets in between edited options become effective without interrupting uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of on-the-fly changeable options.
240</p>
241
242<p><a name="genstart"><h4>3.3.4 Auto Start - optional</h4></p>
243<p>
244You may like to auto-start BNC at startup time in window mode with preassigned configuration options. This may be required i.e. immediately after booting your system. Tick 'Auto start' to supersede the usage of the 'Start' button. Make sure that you maintain a link to BNC for that in your Autostart directory (Windows systems) or call BNC in a script below directory /etc/init.d (Unix/Linux/Mac systems).
245</p>
246<p>
247 See BNC's command line option -nw for an auto-start of BNC in 'no window' mode.
248</p>
249
250<p><a name="rinex"><h4>3.4. RINEX Observations</h4></p>
251<p>
252Observations will be converted to RINEX if they come in either RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. BNC's RINEX Observation files generally contain C1, C2, P1, P2, L1, L2, S1, and S2 observations. In case an observation is unavailable, its value is set to zero '0.000'. Note that the 'RINEX TYPE' field in the RINEX Observation file header is always set to 'M(MIXED)' even if the file does not contain any GLONASS or SABAS data.
253</p>
254
255<p><a name="rnxname"><h4>3.4.1 RINEX File Names</h4></p>
256<p>
257RINEX file names are derived by BNC from the first 4 characters of the corresponding stream's mountpoint (4Char Station ID). For example, data from mountpoints FRANKFURT and WETTZELL will have hourly RINEX Observation files named</p>
258<p>
259FRAN{ddd}{h}.{yy}O<br>
260WETT{ddd}{h}.{yy}O
261</p>
262<p>
263where 'ddd' is the day of year, 'h' is a letter which corresponds to an hour long UTC time block and 'yy' is the year.
264</p>
265<p>
266If there are more than one stream with identical 4Char Station ID (same first 4 characters for their mountpoints), the mountpoint strings are split into two sub-strings and both become part of the RINEX file name. For example, when simultaneously retrieving data from mountpoints FRANKFURT and FRANCE, their hourly RINEX Observation files are named as</p>
267<p>
268FRAN{ddd}{h}_KFURT.{yy}O<br>
269FRAN{ddd}{h}_CE.{yy}O.
270</p>
271<p>
272If several streams show exactly the same mountpoint name (example: BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u>), BNC adds an integer number to the file name leading i.e. to hourly RINEX Observation files like</p>
273<p>
274BRUS{ddd}{h}_0.{yy}O<br>
275BRUS{ddd}{h}_1.{yy}O.
276</p>
277<p>
278Note that RINEX file names for all intervals less than 1 hour follow the file name convention for 15 minutes RINEX Observation files i.e.</p>
279<p>
280FRAN{ddd}{h}{mm}.{yy}O
281</p>
282<p>
283where 'mm' is the starting minute within the hour.
284</p>
285
286<p><a name="rnxdir"><h4>3.4.2 Directory - optional</h4></p>
287<p>
288Here you can specify the path to where the RINEX Observation files will be stored. If the specified directory does not exist, BNC will not create RINEX Observation files. Default value for 'Directory' is an empty option field, meaning that no RINEX Observation files will be written.
289</p>
290
291<p><a name="rnxinterval"><h4>3.4.3 File Interval - mandatory if 'Directory' is set</h4></p>
292<p>
293Select the length of the RINEX Observation file generated. The default value is 15 minutes.
294</p>
295
296<p><a name="rnxsample"><h4>3.4.4 Sampling - mandatory if 'Directory' is set </h4></p>
297<p>
298Select the RINEX Observation sampling interval in seconds. A value of zero '0' tells BNC to store all received epochs into RINEX. This is the default value.
299</p>
300
301<p><a name="rnxskl"><h4>3.4.5 Skeleton Extension - optional</h4></p>
302<p>
303Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. A HTTP link to a directory containing these skeleton files may be available through data field number 7 of the affected NET record in the source-table. See <u>http://www.epncb.oma.be:80/stations/log/skl/brus.skl</u> for an example of a public RINEX header skeleton file for the Brussels EPN station.
304</p>
305<p>
306However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header. For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX Observations 'Directory' with a 'Skeleton extension' suffix is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.
307</p>
308<p>
309Examples for personal skeleton file name convention: RINEX Observation files for mountpoints WETTZELL, FRANKFURT and FRANCE (same 4Char Station ID), BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u> (same 4Char Station ID, identical mountpoint stings) would accept personal skeleton files named</p>
310<p>
311WETT.skl<br>
312FRAN_KFURT.skl<br>
313FRAN_CE.skl<br>
314BRUS_0.skl<br>
315BRUS_1.skl</p>
316<p>
317if 'Skeleton extension' is set to 'skl'.
318</p>
319<p>
320Note the following regulations regarding personal RINEX header skeleton files:
321<ul>
322<li>If such a file exists in the 'RINEX directory', the corresponding public RINEX header skeleton file is ignored. The RINEX header is generated solely from the contents of the personal skeleton.</li>
323<li>Personal skeletons should contain a complete first header record of type</li>
324<br>- &nbsp; RINEX VERSION / TYPE
325<li>They should then contain an empty header record of type</li>
326<br>- &nbsp; PGM / RUN BY / DATE
327<br>BNC will complete this line and include it in the actual RINEX file header.
328<li>They should further contain complete header records of type</li>
329<br>- &nbsp; MARKER NAME
330<br>- &nbsp; OBSERVER / AGENCY
331<br>- &nbsp; REC # / TYPE / VERS
332<br>- &nbsp; ANT # / TYPE
333<br>- &nbsp; APPROX POSITION XYZ
334<br>- &nbsp; ANTENNA: DELTA H/E/N
335<br>- &nbsp; WAVELENGTH FACT L1/2
336<li>They may contain any other optional complete header record as defined in the RINEX documentation.</li>
337<li>They should then contain empty header records of type</li>
338<br>- &nbsp; # / TYPES OF OBSERV
339<br>- &nbsp; TIME OF FIRST OBS
340<br>BNC will include these lines in the final RINEX file header together with an additional
341<br>- &nbsp; COMMENT
342<br>line describing the source of the stream.
343<li>They should finally contain an empty header record of type</li>
344<br>- &nbsp; END OF HEADER (last record)
345</ul>
346<p>
347If neither a public nor a personal RINEX header skeleton file is available for BNC, a default header will be used.
348</p>
349
350<p><a name="rnxscript"><h4>3.4.6 Script - optional</h4></p>
351<p>
352Whenever a RINEX Observation file is saved, you might want to compress, copy or upload it immediately via FTP. BNC allows you to execute a script/batch file to carry out these operations. To do that specify the full path of the script/batch file here. BNC will pass the RINEX Observation file path to the script as a command line parameter (%1 on Windows systems, $1 on Unix/Linux/Mac systems).
353</p>
354<p>
355The triggering event for calling the script or batch file is the end of a RINEX Observation file 'Interval'. If that is overridden by a stream outage, the triggering event is the stream reconnection.
356</p>
357<p>
358As an alternative to initiating file uploads through BNC, you may like to call an upload script or batch file through your crontable or Task Scheduler (independent from BNC) once every 2 or 3 minutes after the end of each RINEX file 'Interval'.
359</p>
360
361<p><a name="rnxvers"><h4>3.4.7 Version - optional</h4></p>
362<p>
363The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you would like to save observations in RINEX Version 3 format.
364</p>
365
366<p><a name="ephemeris"><h4>3.5. RINEX Ephemeris</h4></p>
367<p>
368Broadcast ephemeris can be saved as RINEX Navigation files when received via RTCM Version 3.x as message types 1019 (GPS) and 1020 (GLONASS) or via RTIGS records type 300. The file name convention follows the details given in section 'RINEX File Names' except that the first four characters are 'BRDC' and the last character is
369</p>
370<ul>
371<li>'N' or 'G' for GPS or GLONASS ephemeris in two separate RINEX Version 2.11 Navigation files, or</li>
372<li>'P' for GPS plus GLONASS ephemeris saved together in one RINEX Version 3 Navigation file.
373</ul>
374
375<p><a name="ephdir"><h4>3.5.1 Directory - optional</h4></p>
376<p>
377Specify the path for saving broadcast ephemeris data as RINEX Navigation files. If the specified directory does not exist, BNC will not create RINEX Navigation files. Default value for Ephemeris 'Directory' is an empty option field, meaning that no RINEX Navigation files will be created.
378</p>
379
380<p><a name="ephint"><h4>3.5.2 Interval - mandatory if 'Directory' is set</h4></p>
381<p>
382Select the length of the RINEX Navigation file generated. The default value is 1 day.
383</p>
384
385<p><a name="ephport"><h4>3.5.3 Port - optional</h4></p>
386<p>
387BNC can output broadcast ephemeris in RINEX Version 3 ASCII format on your local host (IP 127.0.0.1) through an IP 'Port'. This function is introduced in order to support i.e. the 'BKG Ntrip Sate Space Server' (BNS) which transforms IGS clocks and orbits into corrections to broadcast ephemeris. Specify an IP port number to activate this function. The default is an empty option field, meaning that no ASCII ephemeris output via IP port is generated.
388</p>
389<p>
390The source code for BNC comes with an example perl script 'test_bnc_eph.pl' that allows you to read BNC's ASCII ephemeris output from the IP port.
391</p>
392
393<p><a name="ephvers"><h4>3.5.4 Version - optional</h4></p>
394<p>
395Default format for RINEX Navigation files containing broadcast ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the ephemeris in RINEX Version 3 format.
396</p>
397<p>
398Note that this does not concern the broadcast ephemeris output throug IP port which is always in RINEX Version 3 format.
399</p>
400
401<p><a name="correct"><h4>3.6. Broadcast Corrections</h4></p>
402<p>
403</p>
404RTCM is in the process of developing new Version 3 messages to transport satellite clock and orbit corrections in real-time. Based on the latest available proposal, the following premature so-called 'State Space Representation' (SSR) messages currently under discussion have been implemented in BNC:
405<ul>
406<li>Message type 1057: GPS orbit corrections to Broadcast Ephemeris</li>
407<li>Message type 1058: GPS clock corrections to Broadcast Ephemeris</li>
408<li>Message type 1059: GPS code biases</li>
409<li>Message type 1060: Combined orbit and clock corrections to GPS Broadcast Ephemeris</li>
410<li>Message type 1061: GPS User Range Accuracy (URA)</li>
411<li>Message type 1062: High-rate GPS clock corrections to Broadcast Ephemeris</li>
412<li>Message type 1063: GLONASS orbit corrections to Broadcast Ephemeris</li>
413<li>Message type 1064: GLONASS clock corrections to Broadcast Ephemeris</li>
414<li>Message type 1065: GLONASS code biases</li>
415<li>Message type 1066: Combined orbit and clock corrections to GLONASS Broadcast Ephemeris</li>
416<li>Message type 1067: GLONASS User Range Accuracy (URA)</li>
417<li>Message type 1068: High-rate GLONASS clock corrections to Broadcast Ephemeris</li>
418</ul>
419<p>
420RTCM Version 3 streams carrying these messages may be used i.e. to support real-time Precise Point Positioning (PPP) applications.
421</p>
422<p>
423When using clocks from Broadcast Ephemeris (with or without applied corrections) or clocks from SP3 files, it may beimportant to understand that they are not corrected for the 2nd-order relativistic effect. The 2nd-order relativistic effect is a priodic time correction defined as -2 (R * V) / c^2 and includes the scalar product of satallite position and velocity divided by the speed of light raised to the second power.
424</p>
425
426<p>
427Orbit corrections are provided in along-track, cross-track and radial components. These components are defined in the Earth-centered, Earth-fixed reference frame of the broadcast ephemerides. For an observer in this frame, the along-track component is aligned in both direction and sign with the velocity vector, the cross-track component is perpendicular to the plane defined by the satellite position and velocity vectors, and the radial direction is perpendicular to the along track and cross-track ones. The three components form a right-handed orthogonal system.
428</p>
429
430<p>
431After applying corrections, the satellite position and clock is referred to the 'ionospheric free' phase center of the antenna which is compatible with the broadcast orbit reference.
432</p>
433
434<p>
435The orbit and clock corrections do not include local effects (like Ocean Loading or Solid Earth Tides) or atmospheric effects (Ionosphere and/or troposphere). Depending on the accuracy of your application you should correct for such effects by other means. There is currently no RTCM SSR message for ionospheric state parameters. Such messages are needed for accurate single frequency applications. The development of Iono messages will be the next step in the schedule of the RTCM State Space Representation Working Group.
436</p>
437
438<p>
439Broadcast Corrrections can be saved by BNC in files. The file name convention for Broadcast Correction files follows the convention for RINEX files except for the last character of the file name suffix which is set to &quot;C&quot;.
440</p>
441
442<p>
443The saved files contain parameters in plain ASCII format. The first five parameters in each record are:
444</p>
445<p>
446<ul>
447<li>RTCMv3 message type number</li>
448<li>SSR message update interval indicator</li>
449<ul>
450<li>0 = 1 sec</li>
451<li>1 = 2 sec</li>
452<li>2 = 5 sec</li>
453<li>3 = 10 sec</li>
454<li>4 = 15 sec</li>
455<li>5 = 30 sec</li>
456<li>6 = 60 sec</li>
457<li>7 = 120 sec</li>
458<li>8 = 240 sec</li>
459<li>9 = 300 sec</li>
460<li>10 = 600 sec</li>
461<li>11 = 900 sec</li>
462<li>12 = 1800 sec</li>
463<li>13 = 3600 sec</li>
464<li>14 = 7200 sec</li>
465<li>15 = 10800 sec</li>
466</ul>
467<li>GPS Week</li>
468<li>Second in GPS Week</li>
469<li>GNSS Indicator and Satellite Vehicle Pseudo Random Number</li>
470</ul>
471</p>
472<p>
473In case of RTCM message types 1057 or 1063 these parameters are followed by
474</p>
475<p>
476<ul>
477<li>IOD refering to Broadcast Ephemeris set</li>
478<li>Radial Component of Orbit Correction to Broadcast Ephemeris [m]</li>
479<li>Along-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
480<li>Cross-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
481<li>Velocity of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
482<li>Velocity of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
483<li>Velocity of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
484<li>Acceleration of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
485<li>Acceleration of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
486<li>Acceleration of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
487<p>
488</ul>
489</p>
490<p>
491Undefined parameters are set to zero &quot;0.000&quot;.<br>Example:
492<pre>
493...
4941057 0 1538 211151.0 G18 1 0.034 0.011 -0.064 0.000 0.000 0.000 0.000 0.000 0.000
4951057 0 1538 211151.0 G16 33 -0.005 0.194 -0.091 0.000 0.000 0.000 0.000 0.000 0.000
4961057 0 1538 211151.0 G22 50 0.008 -0.082 -0.001 0.000 0.000 0.000 0.000 0.000 0.000
497...
4981063 0 1538 211151.0 R09 111 -0.011 -0.014 0.005 0.000 0.000 0.000 0.000 0.000 0.000
4991063 0 1538 211151.0 R10 43 0.000 -0.009 -0.002 0.000 0.000 0.000 0.000 0.000 0.000
5001063 0 1538 211151.0 R21 75 -0.029 0.108 0.107 0.000 0.000 0.000 0.000 0.000 0.000
501...
502</pre>
503<p>
504In case of RTCM message types 1058 or 1064 the first five parameters are followed by
505</p>
506<ul>
507<li>IOD set to zero &quot;0&quot;</li>
508<li>C0 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
509<li>C1 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m/s]</li>
510<li>C2 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m/s**2]</li>
511</ul>
512Example:
513</p>
514<pre>
515...
5161058 0 1538 211151.0 G18 0 1.846 0.000 0.000
5171058 0 1538 211151.0 G16 0 0.376 0.000 0.000
5181058 0 1538 211151.0 G22 0 2.727 0.000 0.000
519...
5201064 0 1538 211151.0 R08 0 8.956 0.000 0.000
5211064 0 1538 211151.0 R07 0 14.457 0.000 0.000
5221064 0 1538 211151.0 R23 0 6.436 0.000 0.000
523...
524</pre>
525</p>
526<p>
527In case of RTCM message types 1060 or 1066 the first five parameters are followed by
528<p>
529<ul>
530<li>IOD refering to Broadcast Ephemeris set</li>
531<li>C0 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
532<li>Radial Component of Orbit Correction to Broadcast Ephemeris [m]</li>
533<li>Along-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
534<li>Cross-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
535<li>C1 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
536<li>Velocity of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
537<li>Velocity of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
538<li>Velocity of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
539<li>C2 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
540<li>Acceleration of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
541<li>Acceleration of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
542<li>Acceleration of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s**2]</li>
543</ul>
544Example:
545</p>
546<pre>
547...
5481060 0 1538 211610.0 G30 82 2.533 0.635 -0.359 -0.598 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
5491060 0 1538 211610.0 G31 5 -4.218 -0.208 0.022 0.002 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
5501060 0 1538 211610.0 G32 28 -2.326 0.977 -0.576 0.142 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
551...
5521066 0 1538 211610.0 R22 27 1.585 2.024 2.615 -2.080 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
5531066 0 1538 211610.0 R23 27 6.277 2.853 4.181 1.304 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
5541066 0 1538 211610.0 R24 27 0.846 1.805 13.095 6.102 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
555...
556</pre>
557</p>
558<p>
559In case of RTCM message types 1059 or 1065 the first five parameters are followed by
560<ul>
561<li>Number of Code Biases</li>
562<li>Indicator to specify the signal and tracking mode</li>
563<li>Code Bias</li>
564<li>Indicator to specify the signal and tracking mode</li>
565<li>Code Bias</li>
566<li>etc.</li>
567</ul>
568Example:
569</p>
570<pre>
571...
5721059 0 1538 211151.0 G18 2 0 -0.010 11 -0.750
5731059 0 1538 211151.0 G16 2 0 -0.040 11 -0.430
5741059 0 1538 211151.0 G22 2 0 -0.630 11 -2.400
575...
576</pre>
577
578<p><a name="corrdir"><h4>3.6.1 Directory - optional</h4></p>
579<p>
580Specify a directory for saving Broadcast Corrections in files. If the specified directory does not exist, BNC will not create Broadcast Correction files. Default value for Broadcast Corrections 'Directory' is an empty option field, meaning that no Broadcast Correction files will be created.
581</p>
582
583<p><a name="corrint"><h4>3.6.2 Interval - mandatory if 'Directory' is set</h4></p>
584<p>
585Select the length of the Broadcast Correction files. The default value is 1 day.
586</p>
587
588<p><a name="corrport"><h4>3.6.3 Port - optional</h4></p>
589<p>
590BNC can output epoch by epoch synchronized Broadcast Corrections in ASCII format on your local host (IP 127.0.0.1) through an IP 'Port'. Specify an IP port number to activate this function. The default is an empty option field, meaning that no Broadcast Correction output via IP port is generated.
591</p>
592<p>
593The output format equals the format used for saving Broadcast Corrections in a file with the exception that the Mountpoint is added at each line's end.
594</p>
595<p>
596The following is an example output for streams from Mountpoints RTCMSSR, CLK10 and CLK11:
597<pre>
598...
5991057 0 1538 211151.0 G18 1 0.034 0.011 -0.064 0.000 0.000 0.000 RTCMSSR
6001057 0 1538 211151.0 G16 33 -0.005 0.194 -0.091 0.000 0.000 0.000 RTCMSSR
6011057 0 1538 211151.0 G22 50 0.008 -0.082 -0.001 0.000 0.000 0.000 RTCMSSR
6021058 0 1538 211151.0 G18 0 1.846 0.000 RTCMSSR
6031058 0 1538 211151.0 G16 0 0.376 0.000 RTCMSSR
6041058 0 1538 211151.0 G22 0 2.727 0.000 RTCMSSR
6051059 0 1538 211151.0 G18 2 0 -0.010 11 -0.750 RTCMSSR
6061059 0 1538 211151.0 G16 2 0 -0.040 11 -0.430 RTCMSSR
6071059 0 1538 211151.0 G22 2 0 -0.630 11 -2.400 RTCMSSR
6081063 0 1538 211151.0 R09 111 -0.011 -0.014 0.005 0.0000 0.000 0.000 RTCMSSR
6091063 0 1538 211151.0 R10 43 0.000 -0.009 -0.002 0.0000 0.000 0.000 RTCMSSR
6101063 0 1538 211151.0 R21 75 -0.029 0.108 0.107 0.0000 0.000 0.000 RTCMSSR
6111064 0 1538 211151.0 R08 0 8.956 0.000 RTCMSSR
6121064 0 1538 211151.0 R07 0 14.457 0.000 RTCMSSR
6131064 0 1538 211151.0 R23 0 6.436 0.000 RTCMSSR
6141066 0 1538 211610.0 R24 27 0.846 1.805 13.095 6.102 0.000 0.000 0.000 0.000 CLK11
6151066 0 1538 211610.0 R23 27 6.277 2.853 4.181 1.304 0.000 0.000 0.000 0.000 CLK11
6161066 0 1538 211610.0 R22 27 1.585 2.024 2.615 -2.080 0.000 0.000 0.000 0.000 CLK11
6171060 0 1538 211610.0 G32 28 -2.326 0.977 -0.576 0.142 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 CLK10
6181060 0 1538 211610.0 G31 5 -4.218 -0.208 0.022 0.002 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 CLK10
6191060 0 1538 211610.0 G30 82 2.533 0.635 -0.359 -0.598 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 CLK10
620...
621</pre>
622</p>
623<p>
624The source code for BNC comes with an example perl script 'test_bnc_eph.pl' that allows you to read BNC's Broadcast Corrections from the IP port.
625</p>
626
627<p><a name="corrwait"><h4>3.6.4 Wait for Full Epoch - mandatory if 'Port' is set</h4></p>
628<p>
629When feeding a real-time GNSS network engine waiting epoch by epoch for synchronized Broadcast Corrections, BNC drops (only concering IP port output) whatever is received later than 'Wait for full epoch' seconds. A value of 2 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming Broadcast Corrections stream and the delay acceptable by your application. A message such as &quot;COCK1: Correction overaged by 5 sec&quot; shows up in BNC's logfile if 'Wait for full epoch' is exceeded.
630</p>
631
632<p><a name="syncout"><h4>3.7. Feed Engine</h4></p>
633<p>
634BNC can generate synchronized or unsynchronized observations epoch by epoch from all stations and satellites to feed a real-time GNSS network engine. The output can be produced in a binary format through an IP port and/or a plain ASCII format to save the observations in a local file. It comprises the following observations where available:</p>
635<p>
636StatID, SVPRN, GPSWeek, GPSWeeks, C1, C2, P1, P2, L1, L2, slip_cnt_L1, slip_cnt_L2, lock_timei_L1, lock_timei_L2, S1, S2, SNR1, SNR2
637</p>
638<p>
639Note that slip_cnt stands for the cumulative loss of continuity indicator, lock_timei for the lock time indicator, and SNR for the signal-to-noise ratio 'S' mapped to integer numbers 1 to 9. In case an observation is not available, its value is set to zero '0.000'. Loss of continuity indicator and lock time indicator are set to nedative values if undefined.
640</p>
641
642<p>The binary output is a continuous stream in the following order:</p>
643<pre>
644begEpoch
645t_obsInternal
646t_obsInternal
647...
648t_obsInternal
649endEpoch
650begEpoch
651t_obsInternal
652...
653</pre>
654
655<p>The corresponding structures are defined as follow:</p>
656<pre>
657 const char begEpoch[] = &quot;BEGEPOCH&quot;;
658 const char endEpoch[] = &quot;ENDEPOCH&quot;;
659...
660...
661class t_obsInternal {
662 public:
663 int flags;
664 char StatID[20+1]; // Station ID
665 char satSys; // Satellite System ('G' or 'R')
666 int satNum; // Satellite Number (PRN for GPS NAVSTAR)
667 int slot; // Slot Number (for Glonass)
668 int GPSWeek; // Week of GPS-Time
669 double GPSWeeks; // Second of Week (GPS-Time)
670 double C1; // CA-code pseudorange (meters)
671 double C2; // CA-code pseudorange (meters)
672 double P1; // P1-code pseudorange (meters)
673 double P2; // P2-code pseudorange (meters)
674 double L1; // L1 carrier phase (cycles)
675 double L2; // L2 carrier phase (cycles)
676 int slip_cnt_L1; // L1 cumulative loss of continuity indicator (negative value = undefined)
677 int slip_cnt_L2; // L2 cumulative loss of continuity indicator (negative value = undefined)
678 int lock_timei_L1; // L1 last lock time indicator (negative value = undefined)
679 int lock_timei_L2; // L2 last lock time indicator (negative value = undefined)
680 double S1; // L1 signal-to noise ratio
681 double S2; // L2 signal-to noise ratio
682 int SNR1; // L1 signal-to noise ratio (mapped to integer)
683 int SNR2; // L2 signal-to noise ratio (mapped to integer)
684};
685</pre>
686
687<p>
688The source code for BNC comes with an example program called 'test_bnc_qt.cpp' that allows you to read BNC's (synchronized or unsynchronized) binary observation output from the IP port and print the observations in a plain ASCII format on standard output.
689</p>
690<p>
691Note that any socket connection of an application to BNC's synchronized or unsynchronized observations ports is recorded in the 'Log' tab on the bottom of the main window together with a connection counter, resulting in log records like 'New client connection on sync/usync port: # 1'.
692</p>
693
694<p><a name="syncport"><h4>3.7.1 Port - optional</h4></p>
695<p>
696BNC can produce synchronized observations in binary format on your local host (IP 127.0.0.1) through an IP 'Port'. Scynchronized means that BNC collects all data for any specific epoch which become available within a certain number of latency seconds (see 'Wait for Full Epoch' option). It then - epoch by epoch - outputs whatever has been received. Specify an IP port number here to activate this function. The default is an empty option field, meaning that no binary synchronized output is generated.</p>
697<p>
698</p>
699
700<p><a name="syncwait"><h4>3.7.2 Wait for Full Epoch - mandatory if 'Port' is set</h4></p>
701<p>
702When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full epoch' seconds. A value of 3 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming streams and the delay acceptable for your real-time GNSS product. Default value for 'Wait for full epoch' is 5 seconds.
703</p>
704<p>
705Note that 'Wait for full epoch' does not effect the RINEX Observation file content. Observations received later than 'Wait for full epoch' seconds will still be included in the RINEX Observation files.
706</p>
707
708<p><a name="syncsample"><h4>3.7.3 Sampling - mandatory if 'File' or 'Port' is set</h4></p>
709<p>
710Select the synchronized observation output sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs. This is the default value.
711</p>
712
713<p><a name="syncfile"><h4>3.7.4 File - optional</h4></p>
714<p>
715Specifies the full path to a 'File' where synchronized observations are saved in plain ASCII format. The default value is an empty option field, meaning that no ASCII output file is created.
716</p>
717<p>
718Beware that the size of this file can rapidly increase depending on the number of incoming streams. This option is primarily meant for testing and evaluation.
719</p>
720
721<p><a name="syncuport"><h4>3.7.5 Port (unsynchronized) - optional</h4></p>
722<p>
723BNC can produce unsynchronized observations from all configured streams in binary format on your local host (IP 127.0.0.1) through an IP 'Port'. Unscynchronized means that BNC immediately forwards any received observation to the port. Specify an IP port number here to activate this function. The default is an empty option field, meaning that no binary unsynchronized output is generated.</p>
724<p>
725
726<p><a name="serial"><h4>3.8. Serial Output</h4></p>
727<p>
728You may use BNC to feed a serial connected device like an GNSS receiver. For that one of the incoming streams can be forwarded to a serial port.
729</p>
730
731<p><a name="sermount"><h4>3.8.1 Mountpoint - optional</h4></p>
732<p>
733Enter a 'Mountpoint' to forward its corresponding stream to a serial connected GNSS receiver.
734</p>
735<p>
736When selecting the serial communication options listed below, make sure that you pick those configured to the serial connected receiver.
737</p>
738
739<p><a name="serport"><h4>3.8.2 Port Name - mandatory if 'Mountpoint' is set</h4></p>
740<p>
741Enter the serial 'Port name' selected on your host for communication with the serial connected receiver. Valid port names are
742</p>
743<pre>
744Windows: COM1, COM2
745Linux: /dev/ttyS0, /dev/ttyS1
746FreeBSD: /dev/ttyd0, /dev/ttyd1
747Digital Unix: /dev/tty01, /dev/tty02
748HP-UX: /dev/tty1p0, /dev/tty2p0
749SGI/IRIX: /dev/ttyf1, /dev/ttyf2
750SunOS/Solaris: /dev/ttya, /dev/ttyb
751</pre>
752<p>
753Note that you must plug a serial cable in the port defined here before you start BNC.
754</p>
755
756<p><a name="serbaud"><h4>3.8.3 Baud Rate - mandatory if 'Mountpoint' is set</h4></p>
757<p>
758Select a 'Baud rate' for the serial output link. Note that using a high baud rate is recommended.
759</p>
760
761<p><a name="serflow"><h4>3.8.4 Flow Control - mandatory if 'Mountpoint' is set</h4></p>
762<p>
763Select a 'Flow control' for the serial output link. Note that your selection must equal the flow control configured to the serial connected device. Select 'OFF' if you don't know better.
764</p>
765
766<p><a name="serparity"><h4>3.8.5 Parity - mandatory if 'Mountpoint' is set</h4></p>
767<p>
768Select the 'Parity' for the serial output link. Note that parity is often set to 'NONE'.
769</p>
770
771<p><a name="serdata"><h4>3.8.6 Data Bits - mandatory if 'Mountpoint' is set</h4></p>
772<p>
773Select the number of 'Data bits' for the serial output link. Note that often '8' data bits are used.
774</p>
775
776<p><a name="serstop"><h4>3.8.7 Stop Bits - mandatory if 'Mountpoint' is set</h4></p>
777<p>
778Select the number of 'Stop bits' for the serial output link. Note that often '1' stop bit is used.
779</p>
780
781<p><a name="serauto"><h4>3.8.8 NMEA - mandatory for VRS streams</h4></p>
782<p>
783Select 'Auto' to automatically forward all NMEA-GGA messages coming from your serial connected GNSS receiver to the NTRIP broadcaster and/or save them in a file.
784</p>
785<p>
786Forwarding valid NMEA-GGA messages to the NTRIP broadcaster is required for receiving 'Virtual Reference Station' (VRS) streams. Thus, in case your serial connected receiver is not capable to provide them, the alternative for VRS streams is a 'Manual' simulation of an initial NMEA-GGA message. Its contents is based on the approximate (editable) latitude/longitude from the broadcaster's source-table and an approximate VRS height to be specified.
787</p>
788<p>
789In summary: select 'Manual' only when handling a VRS stream and your serial connected GNSS receiver doesn't generate NMEA-GGA messages. Select 'Auto' otherweise.
790</p>
791
792<p><a name="serfile"><h4>3.8.9 File - optional if 'Auto' NMEA is set</h4></p>
793<p>Specify the full path to a file where NMEA messages coming from your serial connected receiver are saved.
794</p>
795<p><a name="serheight"><h4>3.8.10 Height - mandatory if 'Manual' NMEA is set</h4></p>
796<p>
797Specify an approximate 'Height' above mean sea level in meter for your VRS to simulate an inital NMEA-GGA message. Latitude and longitude for that (editable) are taken from the broadcaster's source-table.
798</p>
799<p>
800This option concerns only 'Virtual Reference Stations' (VRS). Its setting is ignored in case of streams coming from physical reference stations.
801</p>
802
803<p><a name="advnote"><h4>3.9. Outages</h4></p>
804
805<p>
806At various times, the incoming stream might become unavailable or corrupted. In such cases, it is important that the BNC operator and/or the stream providers become aware of the situation so that necessary measures can be taken to restore the stream. Furthermore, continuous attempts to decode corrupted stream(s) can generate unnecessary workload for BNC. Outages and corruptions are handled by BNC as follows:
807</p>
808<p>
809<u>Stream outages:</u> BNC considers a connection to be broken when there are no incoming data detected for more than 20 seconds. When this occurs, BNC will attempt to reconnect at a decreasing rate. It will first try to reconnect with 1 second delay, and again in 2 seconds if the previous attempt failed. If the attempt is still unsuccessful, it will try to reconnect within 4 seconds after the previous attempt and so on. The wait time doubles each time with a maximum wait time of 256 seconds.
810</p>
811<p>
812<u>Stream corruption:</u> Not all bits chunk transfers to BNC's internal decoders return valid observations. Sometimes several chunks might be needed before the next observation can be properly decoded. BNC buffers all the outputs (both valid and invalid) from the decoder for a short time span (size derived from the expected 'Observation rate') and then determines whether a stream is valid or corrupted.
813</p>
814<p>
815Outage and corruption events are reported in the 'Log' tab. They can also be passed on as parameters to a shell script or batch file to generate an advisory note to BNC operator or affected stream providers. This functionality lets users utilise BNC as a real-time performance monitor and alarm system for a network of GNSS reference stations.
816</p>
817
818<p><a name="obsrate"><h4>3.9.1 Observation Rate - mandatory if 'Failure threshold', 'Recovery threshold', and 'Script' is set</h4></p>
819<p>
820BNC can collect all returns (success or failure) coming from a decoder within a certain short time span to then decide whether a stream has an outage or its content is corrupted. This procedure needs a rough a priory estimate of the expected observation rate of the incoming streams.</p><p>An empty option field (default) means that you don't want an explicit information from BNC about stream outages and incoming streams that can not be decoded.
821</p>
822
823<p><a name="advfail"><h4>3.9.2 Failure Threshold - optional</h4></p>
824<p>
825Event 'Begin_Failure' will be reported if no data is received continuously for longer than the 'Failure threshold' time. Similarly, event 'Begin_Corrupted' will be reported when corrupted data is detected by the decoder continuously for longer than this 'Failure threshold' time. The default value is set to 15 minutes and is recommended so not to innundate user with too many event reports.
826</p>
827<p>
828Note that specifying a value of zero '0' for the 'Failure threshold' will force BNC to report any stream failure immediately. Note also that for using this function you need to specify the 'Observation rate'.
829</p>
830
831<p><a name="advreco"><h4>3.9.3 Recovery Threshold - optional</h4></p>
832<p>
833Once a 'Begin_Failure' or 'Begin_Corrupted' event has been reported, BNC will check for when the stream again becomes available or uncorrupted. Event 'End_Failure' or 'End_Corrupted' will be reported as soon as valid observations are again detected continuously throughout the 'Recovery threshold' time span. The default value is set to 5 minutes and is recommended so not to innundate users with too many event reports.
834</p>
835<p>
836Note that specifying a value of zero '0' for the 'Recovery threshold' will force BNC to report any stream recovery immediately. Note also that for using this function you need to specify the 'Observation rate'.
837</p>
838
839<p><a name="advscript"><h4>3.9.4 Script - optional </h4></p>
840<p>
841As mentioned previously, BNC can trigger a shell script or a batch file to be executed when one of the events described are reported. This script can be used to email an advisory note to network operator or stream providers. To enable this feature, specify the full path to the script or batch file in the 'Script' field. The affected stream's mountpoint and type of event reported ('Begin_Outage', 'End_Outage', 'Begin_Corrupted' or 'End_Corrupted') will then be passed on to the script as command line parameters (%1 and %2 on Windows systems or $1 and $2 on Unix/Linux/Mac systems) together with date and time information.
842</p>
843<p>
844Leave the 'Script' field empty if you do not wish to use this option. An invalid path will also disable this option.
845</p>
846<p>
847Examples for command line parameter strings passed on to the advisory 'Script' are:
848<pre>
849FFMJ0 Begin_Outage 08-02-21 09:25:59
850FFMJ0 End_Outage 08-02-21 11:36:02 Begin was 08-02-21 09:25:59
851</pre>
852Sample script for Unix/Linux/Mac systems:
853<pre>
854#!/bin/bash
855sleep $((60*RANDOM/32767))
856cat | mail -s &quot;NABU: $1&quot; email@address &lt;&lt;!
857Advisory Note to BNC User,
858Please note the following advisory received from BNC.
859Stream: $*
860Regards, BNC
861!
862</pre>
863</p>
864<p>
865Note the sleep command in this script which causes the system to wait for a random period of up to 60 seconds before sending the email. This should avoids overloading your mail server in case of a simultaneous failure of many streams.
866</p>
867
868<p><a name="misc"><h4>3.10. Miscellaneous</h4></p>
869<p>
870This section describes a number of miscellaneous options which can be applied for a single stream (mountpoint) or for all configured streams.
871</p>
872
873<p><a name="miscmount"><h4>3.10.1 Mountpoint - optional </h4></p>
874<p>
875Specify a mountpoint to apply one or several of the 'Miscellaneous' options to the corresponding stream. Enter 'ALL' if you want to apply these options to all configured streams. An empty option field (default) means that you don't want BNC to apply any of these options.
876</p>
877
878<p><a name="miscperf"><h4>3.10.2 Log Latency - optional </h4></p>
879<p>
880 BNC can average latencies per stream over a certain period of GPS time, the 'Log latency' interval. Mean latencies are calculated from the individual latencies of at most one (first incoming) observation or correction to Broadcast Ephemeris per second. The mean latencies are then saved in BNC's logfile. Note that computing correct latencies requires the clock of the host computer to be properly synchronized. Note further that the latencies available from the 'Latency' tab on the bottom of the main window represent individual latencies and not the mean latencies for the logfile.
881</p>
882<p>
883<u>Latency:</u> Latency is defined in BNC by the following equation:
884</p>
885<pre>
886 UTC time provided by BNC's host
887 - GPS time of currently processed epoch
888 + Leap seconds between UTC and GPS time
889 --------------
890 = Latency
891</pre>
892<p>
893<u>Statistics:</u> BNC counts the number of GPS seconds covered by at least one observation. It also estimates an observation rate (independent from the a priory specified 'Observation rate') from all observations received throughout the first full 'Log latency' interval. Based on this rate, BNC estimates the number of data gaps when appearing in subsequent intervals.
894</p>
895<p>
896Latencies of observations or corrections to Broadcast Ephemeris and statistical information can be recorded in the 'Log' tab at the end of each 'Log latency' interval. A typical output from a 1 hour 'Log latency' interval would be:
897</p>
898<pre>
89908-03-17 15:59:47 BRUS0: Mean latency 1.47 sec, min 0.66, max 3.02, rms 0.35, 3585 epochs, 15 gaps
900</pre>
901<p>
902Select a 'Log latency' interval to activate this function or select the empty option field if you do not want BNC to log latencies and statistical information.
903</p>
904
905
906<p><a name="miscscan"><h4>3.10.3 Scan RTCM - optional</h4></p>
907<p>
908When configuring a GNSS receiver for RTCM stream generation, the setup interface may not provide details about RTCM message types. As reliable information concerning stream contents should be available i.e. for NTRIP broadcaster operators to maintain the broadcaster's source-table, BNC allows to scan RTCM streams for incoming message types and printout some of the contained meta-data. The idea for this option arose from 'InspectRTCM', a comprehensive stream analyzing tool written by D. Stoecker.
909</p>
910<p>
911Tick 'Scan RTCM' to scan RTCM Version 2.x or 3.x streams and log all contained
912</p>
913<ul>
914<li>numbers of incoming message types</li>
915<li>Antenna Reference Point (ARP) coordinates</li>
916<li>Antenna Phase Center (APC) coordinates</li>
917<li>antenna height above marker</li>
918<li>antenna descriptor.</li>
919</ul>
920</p>
921
922<p>
923Note that in RTCM Version 2.x the message types 18 and 19 carry only the observables of one frequence. Hence it needs two type 18 and 19 messages per epoch to transport the observations from dual frequency receivers.
924</p>
925<p>
926
927<p>Logged time stamps refer to message reception time and allow to understand repetition rates. Enter 'ALL' if you want to log this information from all configured streams. Beware that the size of the logfile can rapidly increase depending on the number of incoming RTCM streams.
928</p>
929<p>This option is primarily meant for testing and evaluation. Use it to figure out what exactly is produced by a specific GNSS receiver's configuration. An empty option field (default) means that you don't want BNC to print the message type numbers and antenna information carried in RTCM streams.
930</p>
931
932<p><a name="pppclient"><h4>3.11. PPP Client</h4></p>
933<p>
934BNC can derive coordinates for a rover position following the Precise Point Positioning (PPP) approach. It uses either code or phase data in ionosphere free linear combinations P3 or L3. Besides pulling a stream of observations from a receiver, this also requires pulling a stream of
935<ul>
936<li>satellite orbit and clock corrections to Broadcast Ephemeris in the form of 'State Space Representation' (SSR) messages as proposed by RTCM (i.e. premature message type 1060). Note that for BNC these correctors need to refer to the satellite's Antenna Phase Center (APC). Streams providing such messages are listed on http://igs.bkg.bund.de/ntrip/orbits.</li>
937<li>Broadcast Ephemeris available as RTCM Version 3 message types 1019 and 1020. This is a must when the stream coming from the receiver does not contain Broadcast Ephemeris or provides them only at low repetition rate. Streams providing such messages are listed on http://igs.bkg.bund.de/ntrip/ephemeris.</li>
938</ul>
939</p>
940
941<p>
942PPP results are saved in BNC's logfile. Depending on the processing options, the following values are recorded every second (example):
943</p>
944<pre>
94509-12-15 22:30:39 PPP CAS10 22:30:44.0 9 -901775.887 +- 0.058 2409382.427 +- 0.046 -5816746.721 +- 0.087 0.014 +- 0.005
946</pre>
947<p>
948The 'PPP' string in that is followed by the selected mounpoint, a PPP time
949stamp, the number of processed satellites, XYZ coordinates and their formal
950errors as derived from the implemented filter in [m], and if the troposphere
951is estimated the estimated troposphere correction with its formal error in
952[m]. The implemented algorithm includes an outlier and cycle slip
953detection. The maximum for accepted residuals is hard coded to 10 meters for
954code observations and 10 centimeters for phase observations.
955</p>
956
957<p><a name="pppmount"><h4>3.11.1 Mountpoint - optional</h4></p>
958<p>
959Specify a mountpoint if you want BNC to derive coordinates for the affected rover position through a PPP solution.
960</p>
961
962<p><a name="pppstatic"><h4>3.11.2 Static - optional</h4></p>
963<p>
964By default BNC considers the rover position as mobile. Tick 'Static' to consider a static observation sitatuion and adapt appropriate filter characteristics for that.
965</p>
966
967<p><a name="pppphase"><h4>3.11.3 Use Phase Obs - optional</h4></p>
968<p>
969By default BNC applies a PPP solution using an ionosphere free P3 linear combination of code observations. Tick 'Use phase obs' for an ionosphere free L3 linear combination of phase observations.
970</p>
971
972<p><a name="ppptropo"><h4>3.11.4 Estimate Tropo - optional</h4></p>
973<p>
974By default BNC does not introduce troposphere parameters when estimating coordinates. Tick 'Estimate tropo' to introduce troposphere parameters when estimating coordinates.
975</p>
976
977<p><a name="streams"><h4>3.12. Streams</h4></p>
978<p>
979Each stream on an NTRIP broadcaster (and consequently on BNC) is defined using a unique source ID called mountpoint. An NTRIP client like BNC access the desired data stream by referring to its mountpoint. Information about streams and their mountpoints is available through the source-table maintained by the NTRIP broadcaster. Note that mountpoints could show up in BNC more than once when retrieving streams from several NTRIP broadcasters.
980</p>
981
982<p>
983Streams selected for retrieval are listed under the 'Streams' canvas section on BNC's main window. The list provides the following information either extracted from source-table(s) produced by the NTRIP broadcasters or introduced by BNC's user:
984</p>
985<p>
986<table>
987<tr><td>'resource loader'&nbsp; </td><td>NTRIP broadcaster URL and port, or<br>TCP/IP host and port, or<br>Serial input port specification.</td></tr>
988<tr><td>'mountpoint' &nbsp;</td><td>Mountpoint introduced by NTRIP broadcaster, or<br>Mountpoint introduced by BNC's user.</td></tr>
989<tr><td>'decoder' &nbsp;</td><td>Type of decoder used to handle the incoming stream content according to its format; editable.</td></tr>
990<tr><td>'lat' &nbsp;</td><td>Approximate latitude of reference station, in degrees, north; editable if 'nmea' = 'yes'.</td></tr>
991<tr><td>'long' &nbsp;</td><td>Approximate longitude of reference station, in degrees, east; editable if 'nmea' = 'yes'.</td></tr>
992<tr><td>'nmea' &nbsp;</td><td>Indicates whether or not streaming needs to be initiated by BNC through sending NMEA-GGA message carrying position coordinates in 'lat' and 'long'.</td></tr>
993<tr><td>'ntrip' &nbsp;</td><td>Selected NTRIP transport protocol version (1, 2, R, or U), or<br>'N' for TCP/IP streams without NTRIP, or<br>'UN' for UDP streams without NTRIP, or<br>'S' for serial input streams without NTRIP.</td></tr>
994<tr><td>'bytes' &nbsp;</td><td>Number of bytes received.
995</table>
996</p>
997
998<p><a name="streamedit"><h4>3.12.1 Edit Streams</h4></p>
999<ul>
1000<li>
1001BNC automatically allocates one of its internal decoders to a stream based on the stream's 'format' and 'format-details' as given in the source-table. However, there might be cases where you need to override the automatic selection due to incorrect source-table for example. BNC allows users to manually select the required decoder by editing the decoder string. Double click on the 'decoder' field, enter your preferred decoder and then hit Enter. The accepted decoder strings are 'RTCM_2.x', 'RTCM_3.x', and 'RTIGS'.
1002</li>
1003<li>
1004In case you need to log the raw data as is, BNC allows users to by-pass its decoders and and directly save the input in daily log files. To do this specify the decoder string as 'ZERO'. The generated file names are created from the characters of the streams mountpoints plus two-digit numbers each for year, month, and day. Example: Setting the 'decoder' string for mountpoint WTZZ0 to 'ZERO' and running BNC on March 29, 2007 would save the raw data in a file named WTZZ0_070329.
1005</li>
1006<li>
1007BNC can also retrieve streams from virtual reference stations (VRS). To initiate these streams, an approximate rover position needs to be sent in NMEA format to the NTRIP broadcaster. In return, a user-specific data stream is generated, typically by a Network-RTK software. VRS streams are indicated by a 'yes' in the source-table as well as in the 'nmea' column on the 'Streams' canvas in BNC's main window. They are customized exactly to the latitude and longitude transmitted to the NTRIP broadcaster via NMEA-GGA messages.
1008<br>If NMEA-GGA messages are not coming from a serial connected GNSS rover, BNC simulates them from the default latitude and longitude of the source-table as shown in the 'lat' and 'long' columns on the 'Streams' canvas. However, in most cases you would probably want to change these defaults according to your requirement. Double-click on 'lat' and 'long' fields, enter the values you wish to send and then hit Enter. The format is in positive north latitude degrees (e.g. for northern hemisphere: 52.436, for southern hemisphere: -24.567) and eastern longitude degrees (example: 358.872 or -1.128). Only streams with a 'yes' in their 'nmea' column can be edited. The position must preferably be a point within the VRS service area of the network. RINEX files generated from these streams will contain an additional COMMENT line in the header beginning with 'NMEA' showing the 'lat' and 'long' used.
1009<br>Note that when running BNC in a Local Area Network (LAN), NMEA strings may be blocked by a proxy server, firewall or virus scanner.
1010</li>
1011</ul>
1012
1013<p><a name="streamdelete"><h4>3.12.2 Delete Stream</h4></p>
1014<p>
1015To remove a stream from the 'Streams' canvas in the main window, highlight it by clicking on it and hit the 'Delete Stream' button. You can also remove multiple streams simultaneously by highlighting them using +Shift and +Ctrl.</p>
1016
1017<p><a name="streamconf"><h4>3.12.3 Reconfigure Streams On-the-fly</h4></p>
1018<p>
1019The streams selection can be changed on-the-fly without interrupting uninvolved threads in the running BNC process.
1020</p>
1021<p>
1022<u>Window mode:</u> Hit 'Save &amp; Reread Configuration' while BNC is in window mode and already processing data to let changes of your streams selection immediately become effective.
1023<p>
1024<u>No window mode:</u> When operating BNC online in 'no window' mode (command line option -nw), you force BNC to reread its 'mountPoints' configuration option from disk at pre-defined intervals. Select '1 min', '1 hour', or '1 day' as 'Reread configuration' option to reread the 'mountPoints' option every full minute, hour, or day. This lets a 'mountPoints' option edited in between in the configuration file become effective without terminating uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of other on-the-fly changeable options.
1025</p>
1026
1027<p><a name="logs"><h4>3.13. Logging</h4></p>
1028<p>
1029A tabs section on the bottom of the main window provides online controle of BNC's activities. Tabs are available to show the records saved in a logfile, for a plot to controle the bandwidth consumtion and for a plot showing stream latencies.
1030</p>
1031<p><a name="logfile"><h4>3.13.1 Log</h4></p>
1032<p>
1033Records of BNC's activities are shown in the 'Log' tab. They can be saved into a file when a valid path is specified in the 'Logfile (full path)' field.
1034</p>
1035
1036<p><a name="throughput"><h4>3.13.2 Throughput</h4></p>
1037<p>
1038The bandwidth consumtion per stream is shown in the 'Throughput' tab in bits per second (bps) or kilo bits per second (kbps).
1039</p>
1040
1041<p><a name="latency"><h4>3.13.3 Latency</h4></p>
1042<p>
1043The latency of observations in each incoming stream is shown in the 'Latency' tab in milliseconds or seconds. Streams not carrying observations (i.e. those providing only broadcast ephemeris messages) are not considered here. Note that the calculation of correct latencies requires the clock of the host computer to be properly synchronized.
1044</p>
1045
1046<p><a name="bottom"><h4>3.14. Bottom Menu Bar</h4></p>
1047<p>
1048The bottom menu bar allows to add or delete streams to BNC's configuration and to start or stop it. It also provides access to BNC's online help function.
1049</p>
1050
1051<p><a name="streamadd"><h4>3.14.1 Add Stream - Coming from Caster</h4></p>
1052<p>
1053Button 'Add Stream' &gt; 'Coming from Caster' opens a window that allows user to select data streams from an NTRIP broadcaster according to their mountpoints.
1054</p>
1055
1056<p><a name="streamhost"><h4>3.14.1.1 Caster Host and Port - mandatory</h4></p>
1057<p>
1058Enter the NTRIP broadcaster host IP and port number. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u>.
1059</p>
1060
1061<p><a name="streamtable"><h4>3.14.1.2 Casters Table - optional</h4></p>
1062<p>
1063It may be that your are not sure about your NTRIP broadcasters host and port number or you are interested in other broadcaster installations operated elsewhere. Hit 'Show' for a table of known broadcasters maintained at <u>www.rtcm-ntrip.org/home</u>. A window opens which allows to select a broadcaster for stream retrieval.
1064</p>
1065
1066<p><a name="streamuser"><h4>3.14.1.3 User and Password - mandatory for protected streams</h4></p>
1067<p>
1068Some streams on NTRIP broadcasters may be restricted. Enter a valid 'User' ID and 'Password' for access to protected streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/index_ntrip_reg.htm</u> for access to protected streams on <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u>.
1069</p>
1070
1071<p><a name="gettable"><h4>3.14.1.4 Get Table</h4></p>
1072<p>
1073Use the 'Get Table' button to download the source-table from the NTRIP broadcaster. Pay attention to data fields 'format' and 'format-details'. Keep in mind that BNC can only decode and convert streams that come in RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. RTCM Version 2.x streams must contain message types 18 and 19 or 20 and 21 while RTCM Version 3.x streams must contain GPS or SBAS message types 1002 or 1004 and may contain GLONASS message types 1010 or 1012, see data field 'format-details' for available message types and their repetition rates in brackets. Note that in order to produce RINEX Navigation files RTCM Version 3.x streams containing message types 1019 (GPS) and 1020 (GLONASS) are required. Select your streams line by line, use +Shift and +Ctrl when necessary.
1074</p>
1075<p>
1076The contents of data field 'nmea' tells you whether a stream retrieval needs to be initiated by BNC through sending an NMEA-GGA message carrying approximate position coordinates (virtual reference station).
1077</p>
1078<p>
1079Hit 'OK' to return to the main window. If you wish you can click on 'Add Stream' and repeat the process again to retrieve streams from different casters.
1080</p>
1081
1082<p><a name="ntripv"><h4>3.14.1.5 NTRIP Version - mandatory</h4></p>
1083<p>
1084Some limitations and deficiencies of the NTRIP version 1 stream transport protocol are solved in NTRIP version 2. Improvements mainly concern a full HTTP compatibility in view of requirements coming from proxy servers. Version 2 is backwards compatible to Version 1. Options implemented in BNC are:
1085</p>
1086<p>
1087&nbsp; 1:&nbsp; NTRIP version 1, TCP/IP.<br>
1088&nbsp; 2:&nbsp; NTRIP version 2 in TCP/IP mode.<br>
1089&nbsp; R:&nbsp; NTRIP version 2 in RTSP/RTP mode.<br>
1090&nbsp; U:&nbsp; NTRIP version 2 in UDP mode.
1091</p>
1092<p>
1093If NTRIP version 2 is supported by the broadcaster:
1094</p>
1095<ul>
1096<li>Try using option '2' if your streams are otherwise blocked by a proxy server operated in front of BNC.</li>
1097<li>Option 'R' or 'U' may be selected if latency is more important than completeness for your application. Note that the latency reduction is likely to be in the order of 0.5 sec or less. Note further that options 'R' (RTSP/RTP mode) and 'U' (UDP mode) are not accepted by proxy servers and a mobile Internet Service Provider may not support it.</li>
1098</ul>
1099<p>
1100Select option '1' if you are not sure whether the broadcaster supports NTRIP version 2.</li>
1101</p>
1102
1103<p><a name="streamip"><h4>3.14.2 Add Stream - Coming from TCP/IP Port</h4></p>
1104<p>
1105Button 'Add Stream' &gt; 'Coming from TCP/IP Port' allows to retrieve streams via TCP directly from an IP address without using the NTRIP transport protocol. For that you:
1106<ul>
1107<li>Enter the IP address of the stream providing host.</li>
1108<li>Enter the IP port number of the stream providing host.</li>
1109<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1110<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1111<li>Enter the approximate latitude of the stream providing rover in degrees. Example: 45.32.</li>
1112<li>Enter the approximate longitude of the stream providing rover in degrees. Example: -15.20.</li>
1113</ul>
1114</p>
1115<p>
1116Streams directly received from a TCP/IP port show up with an 'N' for 'No NTRIP' in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1117<p>
1118</p>
1119Note that this option works only if no proxy server is involved in the communication link.
1120</p>
1121
1122<p><a name="streamudp"><h4>3.14.3 Add Stream - Coming from UDP Port</h4></p>
1123<p>
1124Button 'Add Stream' &gt; 'Coming from UDP Port' allows to pick up streams arriving directly at one of the local host's UDP ports without using the NTRIP transport protocol. For that you:
1125<ul>
1126<li>Enter the local port number where the UDP stream arrives.</li>
1127<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1128<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1129<li>Enter the approximate latitude of the stream providing rover in degrees. Example: 45.32.</li>
1130<li>Enter the approximate longitude of the stream providing rover in degrees. Example: -15.20.</li>
1131</ul>
1132</p>
1133<p>
1134Streams directly received at a UDP port show up with a 'UN' for 'UDP, No NTRIP' in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1135<p>
1136
1137<p><a name="streamser"><h4>3.14.4 Add Stream - Coming from Serial Port</h4></p>
1138<p>
1139Button 'Add Stream' &gt; 'Coming from Serial Port' allows to retrieve streams from a GNSS receiver via serial port without using the NTRIP transport protocol. For that you:
1140<ul>
1141<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1142<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1143<li>Enter the approximate latitude of the stream providing receiver in degrees. Example: 45.32.</li>
1144<li>Enter the approximate longitude of the stream providing receiver in degrees. Example: -15.20.</li>
1145<li>Enter the serial 'Port name' selected on your host for communication with the receiver. Valid port names are
1146<pre>
1147Windows: COM1, COM2
1148Linux: /dev/ttyS0, /dev/ttyS1
1149FreeBSD: /dev/ttyd0, /dev/ttyd1
1150Digital Unix: /dev/tty01, /dev/tty02
1151HP-UX: /dev/tty1p0, /dev/tty2p0
1152SGI/IRIX: /dev/ttyf1, /dev/ttyf2
1153SunOS/Solaris: /dev/ttya, /dev/ttyb
1154</pre>
1155</li>
1156<li>Select a 'Baud rate' for the serial input. Note that using a high baud rate is recommended.</li>
1157<li>Select the number of 'Data bits' for the serial input. Note that often '8' data bits are used.</li>
1158<li>Select the 'Parity' for the serial input. Note that parity is often set to 'NONE'.</li>
1159<li>Select the number of 'Stop bits' for the serial input. Note that often '1' stop bit is used.</li>
1160<li>Select a 'Flow control' for the serial link. Select 'OFF' if you don't know better.</li>
1161</ul>
1162</p>
1163<p>
1164When selecting the serial communication options listed above, make sure that you pick those configured to the serial connected GNSS receiver.
1165</p>
1166
1167<p>
1168Streams received from a serial connected GNSS receiver show up with an 'S' (for <u>S</u>erial Port, no NTRIP) in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1169<p>
1170
1171<p><a name="start"><h4>3.14.5 Start</h4></p>
1172<p>
1173Hit 'Start' to start retrieving, decoding, and converting GNSS data streams in real-time. Note that 'Start' generally forces BNC to begin with fresh RINEX which might overwrite existing files when necessary unless the option 'Append files' is ticked.
1174</p>
1175
1176<p><a name="stop"><h4>3.14.6 Stop</h4></p>
1177<p>
1178Hit the 'Stop' button in order to stop BNC.
1179</p>
1180
1181<p><a name="cmd"><h4>3.15. Command Line Options</h4></p>
1182<p>
1183Command line options are available to run BNC in 'no window' mode or let it read data from a file in offline mode. BNC will then use processing options from the configuration file. Note that the self-explaining contents of the configuration file can easily be edited. It is possible to introduce a specific configuration file name instead of using the default name 'BNC.ini'.
1184</p>
1185
1186<p><a name="nw"><h4>3.15.1 No Window Mode - optional</h4></p>
1187<p>
1188Apart from its regular windows mode, BNC can be started on all systems as a background/batch job with command line option '-nw'. BNC will then run in 'no window' mode, using processing options from its configuration file on disk. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems.
1189</p>
1190<p>
1191Example:<br><br>
1192bnc.exe -nw
1193</p>
1194
1195<p><a name="post"><h4>3.15.2 Offline Mode - optional</h4></p>
1196<p>
1197Although BNC is primarily a real-time online tool, it can be run in offline mode to read data from a file for post processing purposes. Enter the following four command line options for that:
1198</p>
1199<p>
1200<ul>
1201<li>'--file &#060;<u>inputFileName</u>&#062;' to enter the full path to an input file containing data in RTCM Version 2.x, or Version 3.x, or RTIGS/SOC format.</li>
1202<li>'--format &#060;<u>format</u>&#062;' to enter one of the file format describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li>
1203<li>'--date YYYY-MM-DD' to enter a date for the first epoch.</li>
1204<li>'--time HH:MM:SS' to enter a time for the first epoch.</li>
1205</ul>
1206<p>
1207Example:<br><br>
1208./bnc --file FFMJ.dat --format RTCM_3 --date 2008-10-27 --time 23:12:56
1209</p>
1210<p>
1211Note that it is necessary to define a date and time for the first epoch because RTCM streams do not contain complete time stamps as needed for RINEX. Note further that when running BNC in offline mode, it will use options for file saving, interval, sampling etc. from its configuration file.
1212</p>
1213
1214<p><a name="conffile"><h4>3.15.3 Configuration File - optional</h4></p>
1215The default configuration file name is 'BNC.ini'. You may change this name at startup time using the command line option '--conf &#060;<u>confFileName</u>&#062;'. This allows to run several BNC jobs in parallel on the same host using different sets of configuration options. <u>confFileName</u> stands either for the full path to a configuration file or just for a file name. If you introduce only a filename, the corresponding file will be saved in the current working directory from where BNC is started.
1216</p>
1217<p>
1218Example:<br><br>
1219./bnc --conf MyConfig.ini
1220</p>
1221<p>
1222This leads to a BNC job using configuration file 'MyConfig.ini'. The configuration file will be saved in the current working directory.
1223</p>
1224
1225<p><a name="limits"><h3>4. Limitations</h3></p>
1226<ul>
1227<li>
1228In Qt-based desktop environments (like KDE) on Unix/Linux platforms it may happen that you experience a crash of BNC at startup even when running the program in the background using the '-nw' option. This is a known bug most likely resulting from an incompatibility of Qt libraries in the environment and in BNC. Entering the command 'unset SESSION_MANAGER' before running BNC may help as a work-around.
1229</li>
1230<li>
1231Currently BNC only handles GPS, SBAS and GLONASS data. Galileo is not yet supported.
1232</li>
1233<li>
1234BNC currently will only handle C1, C2, P1, P2, L1, L2, S1, and S2 observations as well as the cumulative loss of continuity and lock time indicators. Which observables and indicators are available on a particular stream will depend on the setup of source receiver and the data format used. RTCM Version 2.x streams do not carry signal-to-noise ratio 'S' values while RTCM Version 3.x streams can only transport one code observable per frequency. Note that signal-to-noise ratios 'S' are also logged mapped to integer numbers 1 to 9.
1235</li>
1236<li>
1237Using RTCM Version 3.x, BNC will properly handle message types 1002, 1004, 1010, and 1012. Note that when handling message types 1001, 1003, 1009 and 1011 where the ambiguity field is not set, the output will be no valid RINEX. All values will be stored modulo 299792.458 (speed of light).
1238</li>
1239Concerning the RTCM Version 3.x premature message types 1057-1068 (see RTCM document 091-2009-SC104-542 'Version 3 Proposed Messages â&#8364;&#8220; Set 10'), a final decision is not yet made. Note the what's implemented in BNC is just a temporary solutions.
1240<li>
1241Using RTCM Version 2.x, BNC will only handle message types 18 and 19 or 20 and 21 together with position and the antenna offset information carried in types 3 and 22. Note that processing carrier phase corrections and pseudo-range corrections contained in message types 20 and 21 needs access to broadcast ephemeris. Hence, whenever dealing with message types 20 and 21, make sure that broadcast ephemeris become available for BNC through also retrieving at least one RTCM Version 3.x stream carrying message types 1019 (GPS ephemeris) and 1020 (GLONASS ephemeris).
1242</li>
1243<li>
1244Streams coming in RTIGS format carry only GPS data.
1245</li>
1246<li>
1247BNC's 'Get Table' function only shows the STR records of a source-table. You can use an Internet browser to download the full source-table contents of any NTRIP broadcaster by simply entering its URL in the form of http://host:port. Data field number 8 in the NET records may provide information about where to register for an NTRIP broadcaster account.
1248</li>
1249<li>
1250EUREF as well as IGS adhere to an open data policy. Streams are made available through NTRIP broadcasters at <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u> free of charge to anyone for any purpose. There is no indication up until now how many users will need to be supported simultaneously. The given situation may develop in such a way that it might become difficult to serve all registered users at the same times. In cases where limited resources on the NTRIP broadcaster side (software restrictions, bandwidth limitation etc.) dictates, first priority in stream provision will be given to stream providers followed by re-broadcasting activities and real-time analysis centers while access to others might be temporarily denied.
1251</li>
1252<li>
1253We experienced a limitation of the Standard Version of Microsoft Windows related to socket communication where sockets are not always handled properly. Since BNC makes intensive use of communication through sockets, we recommend to use the Server Version of Microsoft Windows when running BNC continuously for extended on a Windows platform.
1254</li>
1255<li>
1256The source code provided by NRCan for decoding RTIGS streams is 32-bit dependent. Hence the BNC executable generated for 64-bit Linux systems would only run when compiled using the -m32 compiler option.
1257</li>
1258<li>
1259Once BNC has been started, many of its configuration options can not be changed as long as it is stopped. See chapter 'Reread Configuration' for on-the-fly configuration exceptions.
1260</li>
1261<br>
1262</ul>
1263<p><a name="authors"><h3>5. Authors</h3></p>
1264<p>
1265The BKG Ntrip Client (BNC) Qt Graphic User Interface (GUI) has been developed for the Federal Agency for Cartography and Geodesy (BKG) by Leos Mervart, Czech Technical University Prague, Department of Geodesy. BNC includes the following GNU GPL software components:
1266<ul>
1267<li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen</li>
1268<li> RTCM 3.x decoder, written for BKG by Dirk Stoecker, Alberding GmbH, Schoenefeld</li>
1269<li> RTIGS decoder, written by Ken MacLeod, Natural Resources, Canada.</li>
1270</ul>
1271</p>
1272<p>
1273Georg Weber<br>
1274Federal Agency for Cartography and Geodesy (BKG)<br>
1275Frankfurt, Germany<br>
1276[euref-ip@bkg.bund.de] or [igs-ip@bkg.bund.de]
1277</p>
1278<p>
1279<b>Acknowledgements</b><br>
1280BNC's Help Contents has been proofread by Thomas Yan, University of New South Wales, Australia.<br>
1281Scott Glazier, OmniSTAR Australia, included the decoding of broadcast ephemeris from RTIGS streams and has been helpful in finding BNC's bugs.<br>
1282James Perlt, BKG, helped fixing bugs and redesigned BNC's main window.<br>
1283Andre Hauschild, German Space Operations Center, DLR, revised the RTCMv2 decoder.<br>
1284Zdenek Lukes, Czech Technical University Prague, Department of Geodesy, extended the RTCMv2 decoder to handle message types 3, 20, 21, and 22 and added loss of lock indicator.<br>
1285</p>
1286
1287<p><a name="annex"><h3>6. Annex</h3></p>
1288<p>
12896.1. <a href=#history>Revision History</a><br>
12906.2. <a href=#rtcm>RTCM</a><br>
1291&nbsp; &nbsp; &nbsp; 6.2.1 NTRIP <a href=#ntrip1>Version 1</a><br>
1292&nbsp; &nbsp; &nbsp; 6.2.2 NTRIP <a href=#ntrip2>Version 2</a><br>
1293&nbsp; &nbsp; &nbsp; 6.2.3 RTCM <a href=#rtcm2>Version 2.x</a><br>
1294&nbsp; &nbsp; &nbsp; 6.2.4 RTCM <a href=#rtcm3>Version 3.x</a><br>
12956.3. <a href=#rtigs>RTIGS</a><br>
1296&nbsp; &nbsp; &nbsp; 6.3.1 <a href=#soc>SOC</a><br>
12976.4. <a href=#config>Configuration Example</a><br>
12986.5. <a href=#links>Links</a><br>
1299</p>
1300
1301<p><a name=history><h3>6.1 Revision History</h3></p>
1302<table>
1303<tr></tr>
1304
1305<tr>
1306<td>Dec 2006 &nbsp;</td><td>Version 1.0b &nbsp;</td>
1307<td>[Add] First Beta Binaries published based on Qt 4.2.3.</td>
1308</tr>
1309
1310<tr>
1311<td>Jan 2007 &nbsp;</td><td>Version 1.1b &nbsp;</td>
1312<td>[Add] Observables C2, S1, and S2<br>[Add] Virtual reference station access<br>[Bug] RTCM2 decoder time tag fixed<br>[Mod] Small letters for public RINEX skeleton files<br>[Add] Online help through Shift+F1</td>
1313</tr>
1314
1315<tr>
1316<td>Apr 2007 &nbsp;</td><td>Version 1.2b &nbsp;</td>
1317<td>[Bug] Output only through IP port<br>[Bug] Method 'reconnecting' now thread-save<br> [Add] ZERO decoder added<br> [Mod] Download public RINEX skeletons once per day<br> [Mod] Upgrade to Qt Version 4.2.3<br> [Mod] Replace 'system' call for RINEX script by 'QProcess'<br> [Add] HTTP Host directive for skeleton file download<br> [Add] Percent encoding for user IDs and passwords<br> [Bug] Exit execution of calling thread for RTCM3 streams<br> [Bug] Signal-slot mechanism for threads</td>
1318</tr>
1319
1320<tr>
1321<td>May 2007 &nbsp;</td><td>Version 1.3 &nbsp;</td>
1322<td>[Add] Source code published.</td>
1323</tr>
1324
1325<tr>
1326<td>Jul 2007 &nbsp;</td><td>Version 1.4 &nbsp;</td>
1327<td>[Bug] Skip messages from proxy server<br> [Bug] Call RINEX script through 'nohup'</td>
1328</tr>
1329
1330<tr>
1331<td>Apr 2008 &nbsp;</td><td>Version 1.5 &nbsp;</td>
1332<td>[Add] Handle ephemeris from RTCM Version 3.x streams<br> [Add] Upgrade to Qt Version 4.3.2<br> [Add] Optional RINEX v3 output<br> [Add] SBAS support<br> [Bug] RINEX skeleton download following stream outage<br> [Add] Handle ephemeris from RTIGS streams<br> [Add] Monitor stream failure/recovery and latency<br> [Mod] Redesign of main window<br> [Bug] Freezing of About window on Mac systems<br> [Bug] Fixed problem with PRN 32 in RTCMv2 decoder<br> [Bug] Fix for Trimble 4000SSI receivers in RTCMv2 decoder<br> [Mod] Major revision of input buffer in RTCMv2 decoder</td>
1333</tr>
1334
1335<tr>
1336<td>Dec 2008 &nbsp;</td><td>Version 1.6 &nbsp;</td>
1337<td>[Mod] Fill blanc columns in RINEXv3 with 0.000<br> [Add] RTCMv3 decoder for clock and orbit corrections<br>[Add] Check RTCMv3 streams for incoming message types<br> [Add] Decode RTCMv2 message types 3, 20, 21, and 22<br> [Add] Loss of lock and lock time indicator<br> [Bug] Rounding error in RTCMv3 decoder concerning GLONASS height<br> [Mod] Accept GLONASS in RTCMv3 when transmitted first<br> [Add] Leap second 1 January 2009<br> [Add] Offline mode, read data from file<br> [Add] Output antenna descriptor, coordinates and excentricities from RTCMv3<br> [Add] Reconfiguration on-the-fly<br> [Mod] Binary ouput of synchronized observations<br> [Add] Binary output of unsynchronized observations<br> [Bug] Fixed problem with joined RTCMv3 blocks</td>
1338</tr>
1339
1340<tr>
1341<td>Dec 2008 &nbsp;</td><td>Version 1.6.1 &nbsp;</td>
1342<td>[Mod] HTTP GET when no proxy in front</td>
1343</tr>
1344
1345<tr>
1346<td>Nov 2009 &nbsp;</td><td>Version 1.7 &nbsp;</td>
1347<td>[Bug] RINEX navigation file format<br> [Add] Upgrade to Qt Version 4.5.2<br> [Add] Support of NTRIP v2<br> [Add] Rover support via serial port<br> [Add] Show broadcaster table from www.rtcm-ntrip.org<br> [Add] Enable/disable tab widgets<br> [Add] User defined configuration file name<br> [Mod] Switch to configuration files in ini-Format<br> [Add] Daily logfile rotation<br> [Add] Read from TCP/IP port, by-pass NTRIP transport protocol<br> [Add] Save NMEA messages coming from rover<br> [Add] Auto start<br> [Add] Drag and drop ini files<br> [Add] Read from serial port, by-pass NTRIP transport protocol<br> [Mod] Update of SSR messages following RTCM 091-2009-SC104-542<br> [Add] Read from UPD port, by-pass NTRIP transport protocol<br> [Mod] Output format of Broadcast Corrections<br> [Add] Throughput plot<br> [Add] Latency plot</td>
1348</tr>
1349
1350<tr>
1351<td>Nov 2009 &nbsp;</td><td>Version 1.8 &nbsp;</td>
1352<td>[Mod] On-the-fly reconfiguration of plot </td>
1353</tr>
1354
1355<tr>
1356<td>Dec 2009 &nbsp;</td><td>Version 2.0 &nbsp;</td>
1357<td>[Add] Real-time PPP option</td>
1358</tr>
1359
1360</table>
1361</p>
1362
1363<p><a name="rtcm"><h4>6.2. RTCM</h4></p>
1364
1365<p>
1366The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which governmental and non-governmental members work together to develop technical standards and consensus recommendations in regard to issues of particular concern. RTCM is engaged in the development of international standards for maritime radionavigation and radiocommunication systems. The output documents and reports prepared by RTCM Committees are published as RTCM Recommended Standards. Topics concerning Differential Global Navigation Satellite Systems (DGNSS) are handled by the Special Committee SC 104.
1367<p>
1368Personal copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
1369</p>
1370
1371<p><a name="ntrip1"><h4>6.2.1 NTRIP Version 1</h4></p>
1372
1373<p>
1374'Networked Transport of RTCM via Internet Protocol' Version 1.0 (NTRIP) stands for an application-level protocol streaming Global Navigation Satellite System (GNSS) data over the Internet. NTRIP is a generic, stateless protocol based on the Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are enhanced to GNSS data streams.
1375</p>
1376
1377<p>
1378NTRIP Version 1.0 is an RTCM standard designed for disseminating differential correction data (e.g. in the RTCM-104 format) or other kinds of GNSS streaming data to stationary or mobile users over the Internet, allowing simultaneous PC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP supports wireless Internet access through Mobile IP Networks like GSM, GPRS, EDGE, or UMTS.
1379</p>
1380
1381<p>
1382NTRIP is implemented in three system software components: NTRIP clients, NTRIP servers and NTRIP broadcasters. The NTRIP broadcaster is the actual HTTP server program whereas NTRIP client and NTRIP server are acting as HTTP clients.
1383</p>
1384
1385<p>
1386NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
1387<ul>
1388<li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
1389<li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
1390<li>Potential to support mass usage; disseminating hundreds of streams simultaneously for thousands of users possible when applying modified Internet Radio broadcasting software.</li>
1391<li>Considering security needs; stream providers and users don't necessarily get into contact, streams often not blocked by firewalls or proxy servers protecting Local Area Networks.</li>
1392<li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
1393</ul>
1394</p>
1395
1396<p>
1397The NTRIP broadcaster maintains a source-table containing information on available NTRIP streams, networks of NTRIP streams and NTRIP broadcasters. The source-table is sent to an NTRIP client on request. Source-table records are dedicated to one of the following: Data Streams (record type STR), Casters (record type CAS), or Networks of streams (record type NET).
1398</p>
1399
1400<p>
1401Source-table records of type STR contain the following data fields: 'mountpoint', 'identifier', 'format', 'format-details', 'carrier', 'nav-system', 'network', 'country', 'latitude', 'longitude', 'nmea', 'solution', 'generator', 'compr-encryp', 'authentication', 'fee', 'bitrate', 'misc'.
1402</p>
1403<p>
1404Source-table records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
1405</p>
1406<p>
1407Source-table records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
1408</p>
1409
1410<p><a name="ntrip2"><h4>6.2.1 NTRIP Version 2</h4></p>
1411
1412<p>
1413The major changes of NTRIP version 2.0 compared to version 1.0 are:
1414</p>
1415
1416<ul>
1417<li>cleared and fixed design problems and HTTP protocol violations;</li>
1418<li>replaced non standard directives;</li>
1419<li>chunked transfer encoding;</li>
1420<li>improvements in header records;</li>
1421<li>source-table filtering; and</li>
1422<li>RTSP communication.</li>
1423</ul>
1424
1425<p>NTRIP version 2 allows to either communicate in TCP/IP mode or in RTSP/RTP mode or in UDP mode whereas version 1 is limited to TCP/IP only.
1426</p>
1427
1428<p><a name="rtcm2"><h4>6.2.3 RTCM Version 2.x</h4></p>
1429<p>
1430Transmitting GNSS carrier phase data can be done through RTCM Version 2.x messages. Please note that only RTCM Version 2.2 and 2.3 streams may include GLONASS data. Messages that may be of some interest here are:
1431</p>
1432
1433<ul>
1434<li>
1435Type 1 message is the range correction message and is the primary message in code-phase differential positioning (DGPS). It is computed in the base receiver by computing the error in the range measurement for each tracked SV.
1436</li>
1437<li>
1438Type 2 message is automatically generated when a new set of satellite ephemeris is downloaded to the base receiver. It is the computed difference between the old ephemeris and the new ephemeris. Type 2 messages are used when the base station is transmitting Type 1 messages.
1439</li>
1440<li>
1441Type 3 and 22 messages are the base station position and the antenna offset. Type 3 and 22 are used in RTK processing to perform antenna reduction.
1442</li>
1443<li>
1444Type 6 message is a null frame filler message that is provided for data links that require continuous transmission of data, even if there are no corrections to send. As many Type 6 messages are sent as required to fill in the gap between two correction messages (type 1). Message 6 is not sent in burst mode.
1445</li>
1446<li>
1447Type 9 message serves the same purpose as Type 1, but does not require a complete satellite set. As a result, Type 9 messages require a more stable clock than a station transmitting Type 1 's, because the satellite corrections have different time references.
1448</li>
1449<li>
1450Type 16 message is simply a text message entered by the user that is transmitted from the base station to the rover. It is used with code-phase differential.
1451</li>
1452<li>
1453Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
1454</li>
1455<li>
1456Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
1457</li>
1458<li>
1459Type 23 message provides the information on the antenna type used on the reference station.
1460</li>
1461<li>
1462Type 24 message carries the coordinates of the installed antenna's ARP in the GNSS coordinate system coordinates.
1463</li>
1464</ul>
1465
1466<p><a name="rtcm3"><h4>6.2.4 RTCM Version 3.x</h4></p>
1467<p>
1468RTCM Version 3.x has been developed as a more efficient alternative to RTCM Version 2.x. Service providers and vendors have asked for a standard that would be more efficient, easy to use, and more easily adaptable to new situations. The main complaint was that the Version 2 parity scheme was wasteful of bandwidth. Another complaint was that the parity is not independent from word to word. Still another was that even with so many bits devoted to parity, the actual integrity of the message was not as high as it should be. Plus, 30-bit words are awkward to handle. The Version 3.x standard is intended to correct these weaknesses.
1469</p>
1470<p>
1471RTCM Version 3.x defines a number of message types. Messages that may be of interest here are:
1472</p>
1473<ul>
1474<li>Type 1001, GPS L1 code and phase.</li>
1475<li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
1476<li>Type 1003, GPS L1 and L2 code and phase.</li>
1477<li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
1478<li>Type 1005, Station coordinates XZY for antenna reference point.</li>
1479<li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
1480<li>Type 1007, Antenna descriptor and ID.</li>
1481<li>Type 1008, Antenna serial number.</li>
1482<li>Type 1009, GLONASS L1 code and phase.</li>
1483<li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
1484<li>Type 1011, GLONASS L1 and L2 code and phase.</li>
1485<li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
1486<li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
1487<li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
1488<li>Type 1019, GPS ephemeris.</li>
1489<li>Type 1020, GLONASS ephemeris.</li>
1490<li>Type 4088 and 4095, Proprietary messages (under development).
1491</li>
1492</ul>
1493
1494<p><a name="rtigs"><h4>6.3. RTIGS</h4></p>
1495<p>
1496RTIGS stands for a data format and transport protocol for GPS observations. It was defined by the Real-Time IGS Working Group (RTIGS WG). Its definition is based on the SOC format. Every RTIGS record has one of the following numbers:
1497</p>
1498<p>
1499Station record number 100<br>
1500Observation record (O_T) number 200<br>
1501Ephemeris record (E_T) number 300<br>
1502Meteorological record (M_T) number 400
1503</p>
1504<p>
1505Every station has one of the following unique numbers:
1506</p>
1507<p>
15081-99 reserved for JPL<br>
1509100-199 reserved for NRCan<br>
1510200-299 reserved for NGS<br>
1511300-399 reserved for ESOC<br>
1512400-499 reserved for GFZ<br>
1513500-599 reserved for BKG<br>
1514600-699 reserved for GEOSCIENCE AUS<br>
1515700-799 others<br>
1516etc
1517</p>
1518<p>
1519The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
1520</p>
1521<p>
1522For example:
1523</p>
1524<ul>
1525<li>A station message is output once per hour and is 20 bytes.</li>
1526<li>An observation message is output once per second. The header is 12 bytes long and the SOC data is 21 bytes per PRN. So a typical RTIGSO_T message will be 390 bytes if 8 sats are being tracked.</li>
1527<li>An ephemeris message is output when the ephemeris is decoded by the GPS receiver. The time in the ephemeris header is the collected time. Only one ephemeris can be bundled in a RTIGSE_T message.<br>
1528A RTIGSE_T message contains one eph. The message consists of 12 header bytes and 72 ephemeris bytes, for a total of 84 bytes.</li>
1529<li>The RTIGSM_T (met) message should be issued once every 15 minutes. A basic met message consists of a 12 byte header and 3 longs (temp, press and relative humidity) for a total of 24 bytes.</li>
1530</ul>
1531<p>
1532All records are related to a station configuration indicated by the Issue of Data Station (IODS). The IODS will enable the user to identify the equipment and software that was used to derive the observation data.
1533</p>
1534<p>
1535Each record header contains the GPS Time in seconds which flows continuously from 6 Jan-1980 onwards.
1536</p>
1537<p>
1538The data payload of each record consists of observations. The structures indicate a pointer to data but in fact the broadcast messages do not contain the pointer, only the data. Users will have to manage the data and the pointer is shown in order to illustrate where the data is located in the message and one possible data management option.
1539</p>
1540<p>
1541All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
1542</p>
1543<p>
1544Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
1545</p>
1546
1547<p><a name="soc"><h4>6.3.1 SOC</h4></p>
1548<p>
1549The SOC format has been designed in July 1999 by the Jet Propulsion Laboratory (JPL) and the California Institute of Technology (CalTech) to transport 1Hz GPS data with minimal bandwidth over the open Internet. SOC follows the 'little-endian' byte order meaning that the low-order byte of a number is stored in memory at the lowest address, and the high-order byte at the highest address. Because the transport layer is UDP, the format does not include sync bits, a checksum, or cyclic redundancy checksum (CRC). SOC allows to transport the GPS observable CA, P1, P2, L1, and L2, efficiently compressed down to 14 bytes with 1 mm range resolution and 0.02 mm phase resolution. SOC contains epochs for cycle slips, a stand-alone time-tag per epoch, a minimum representation of the receiver's clock solution, 3 SNR numbers, a unique site id, a modulo 12 hour sequence number and flags for receiver type and GPS health. SOC's simple structure comprises an 8 byte header, a 9 byte overhead for timetag, number of gps, etc., plus 21 data bytes per gps.
1550</p>
1551<p>
1552Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
1553</p>
1554<p>
1555</p>
1556<p><a name="config"><h4>6.4. Configuration Example</h4></p>
1557<p>
1558The following table's left column is an example for the contents of a configuration file 'BNC.ini'. It enables the retrieval of stream ACOR0 form www.euref-ip.net for the generation of 15 min RINEX files. RINEX files are uploaded to an archive using script 'up2archive' :
1559</p>
1560<table>
1561<tr></tr>
1562<tr><td><b>Option</b></td><td><b>Affiliation</b></td></tr>
1563<tr><td>[General]</td><td>Settings: Group</td></tr>
1564<tr><td>adviseFail=15</td><td>Outages: Failure threshold</td></tr>
1565<tr><td>adviseReco=5</td><td>Outages: Recovery threshold</td></tr>
1566<tr><td>adviseScript=</td><td>Outages: Script (full path)</td></tr>
1567<tr><td>autoStart=0</td><td>General: Auto start</td></tr>
1568<tr><td>binSample=0</td><td>Feed Engine: Sampling</td></tr>
1569<tr><td>casterUrlList=http://user:pass@euref-ip:2101</td><td>Internal memory: Visited URLs</td></tr>
1570<tr><td>corrIntr=1 day</td><td>Broadcast Corrections: Interval</td></tr>
1571<tr><td>corrPath=</td><td>Broadcast Corrections: Directory </td></tr>
1572<tr><td>corrPort=</td><td>Broadcast Corrections: Port</td></tr>
1573<tr><td>corrTime=5</td><td>Broadcast Corrections: Wait for full epoch</td></tr>
1574<tr><td>ephIntr=15 min</td><td>RINEX Ephemeris: Interval</td></tr>
1575<tr><td>ephPath=</td><td>RINEX Ephemeris: Directory</td></tr>
1576<tr><td>ephV3=0</td><td>RINEX Ephemeris: Version 3</td></tr>
1577<tr><td>font=</td><td>Internal memory: Used font</td></tr>
1578<tr><td>logFile=/home/weber/bnc.log</td><td>General: Logfile (full path)</td></tr>
1579<tr><td>miscMount=</td><td>Miscellaneous: Mountpoint</td></tr>
1580<tr><td>mountPoints=//user:pass@www.euref-ip.net:2101<br>/ACOR0 RTCM_2.3 43.36 351.60 no 1</td><td>Streams: broadcaster:port/mountpoint</td></tr>
1581<tr><td>ntripVersion=1</td><td>Add Stream: NTRIP Version</td></tr>
1582<tr><td>obsRate=</td><td>Outages: Observation rate</td></tr>
1583<tr><td>onTheFlyInterval=1 day</td><td>General: Reread configuration</td></tr>
1584<tr><td>outEphPort=</td><td>RINEX Ephemeris: Port</td></tr>
1585<tr><td>outFile=</td><td>Feed Engine: File (full path)</td></tr>
1586<tr><td>outPort=</td><td>Feed Engine: Port</td></tr>
1587<tr><td>outUPort=</td><td>Feed Engine: Port (unsynchronized)</td></tr>
1588<tr><td>perfIntr=</td><td>Miscellaneous: Log latency</td></tr>
1589<tr><td>proxyHost=</td><td>Proxy: Proxy host</td></tr>
1590<tr><td>proxyPort=</td><td>Proxy: Proxy port</td></tr>
1591<tr><td>rnxAppend=2</td><td>General: Append files</td></tr>
1592<tr><td>rnxIntr=15 min</td><td>RINEX Observations: Interval</td></tr>
1593<tr><td>rnxPath=/home/user/rinex</td><td>RINEX Observations: Directory</td></tr>
1594<tr><td>rnxSample=0</td><td>RINEX Observations: Sampling</td></tr>
1595<tr><td>rnxScript=/home/user/rinex/up2archive</td><td>RINEX Observations: Script (full path)</td></tr>
1596<tr><td>rnxSkel=</td><td>RINEX Observations: Skeleton extension</td></tr>
1597<tr><td>rnxV3=0</td><td>RINEX Observation: Version 3</td></tr>
1598<tr><td>scanRTCM=0</td><td>Miscellaneous: Scan RTCM</td></tr>
1599<tr><td>serialAutoNMEA=Auto</td><td>Serial Output: NMEA</td></tr>
1600<tr><td>serialBaudRate=9600</td><td>Serial Output: Baud rate</td></tr>
1601<tr><td>serialDataBits=8</td><td>Serial Output: Data bits</td></tr>
1602<tr><td>serialHeightNMEA=</td><td>Serial Output: Height</td></tr>
1603<tr><td>serialMountPoint=</td><td>Serial Output: Mountpoint</td></tr>
1604<tr><td>serialParity=NONE</td><td>Serial Output: Parity</td></tr>
1605<tr><td>serialPortName=</td><td>Serial Output: Port name</td></tr>
1606<tr><td>serialStopBits=1</td><td>Serial Output: Stop bits</td></tr>
1607<tr><td>startTab=0</td><td>Internal memory: Top tab index</td></tr>
1608<tr><td>statusTab=0</td><td>Internal memory: Bottom tab index</td></tr>
1609<tr><td>waitTime=5</td><td>Feed Engine: Wait for full epoch</td></tr>
1610</table>
1611</p>
1612<p>
1613Note that the following configuration options saved on disk can be changed/edited on-the-fly while BNC is already processing data:
1614</p>
1615<p>
1616<ul>
1617<li>'mountPoints' to change the selection of streams to be processed, see section 'Streams',</li>
1618<li>'waitTime' to change the 'Wait for full epoch' option, see section 'Feed Engine', and</li>
1619<li>'binSampl' to change the 'Sampling' option, see section 'Feed Engine'.</li>
1620</ul>
1621</p>
1622
1623<p><a name="links"><h3>6.5 Links</h3></p>
1624<table>
1625<tr></tr>
1626<tr><td>NTRIP &nbsp;</td><td><u>http://igs.bkg.bund.de/index_ntrip.htm</u></td></tr>
1627<tr><td>EUREF-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.euref-ip.net/home</u></td></tr>
1628<tr><td>IGS-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.igs-ip.net/home</u></td></tr>
1629<tr><td>NTRIP broadcaster overview &nbsp;</td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
1630<tr><td>EUREF-IP Project &nbsp;</td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
1631<tr><td>Real-time IGS Pilot Project &nbsp;</td><td><u>http://www.rtigs.net/pilot</u></td></tr>
1632<tr><td>Radio Technical Commission<br>for Maritime Services &nbsp;</td><td><u>http://www.rtcm.org</u>
1633</table>
1634
Note: See TracBrowser for help on using the repository browser.