Changeset 488 in ntrip for trunk/ntripserver/README
- Timestamp:
- Aug 30, 2007, 4:55:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ntripserver/README
r486 r488 1 1 ---------------------------------------------------------------------- 2 Ntrip Server Linux2 ntripserver 3 3 ---------------------------------------------------------------------- 4 4 … … 6 6 7 7 8 Files in NtripServerLinux.zip9 ------------------------ -----10 ReadmeServerLinux.txt: Readme file for NtripServerLinux 11 NtripServerLinux.tar: NtripServerLinux program tar archive 12 NtripProvider.doc: Server password/mountpoit request form 13 SiteLogExample.txt: Example Station Logfile 14 SiteLogInstr.txt: Station Logfile Instructions 8 Files in ntripserver.tgz 9 ------------------------ 10 - ntripserver.tar: ntripserver program tar archive 11 - makefile: preconfigured makefile for convenient installation 12 - ntripserver.c: c source file 13 - README: Readme file for the ntripserver program 14 - startntripserver.sh: shell script to start the ntripserver program 15 15 16 Ntrip 16 17 NTRIP 17 18 ----- 18 NtripServerLinuxis a HTTP client based on "Networked Transport of19 RTCM via Internet Protocol" (N trip). This is an application-level20 protocol streaming Global Navigation Satellite System (GNSS) data over21 the Internet. Ntrip is a generic, stateless protocol based on the22 Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are enhanced23 to GNSS data streams.19 The ntripserver is a HTTP client based on "Networked Transport of 20 RTCM via Internet Protocol" (NTRIP). This is an application-level 21 protocol streaming Global Navigation Satellite System (GNSS) data 22 over the Internet. NTRIP is a generic, stateless protocol based on 23 the Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are 24 enhanced to GNSS data streams. 24 25 25 N tripis designed for disseminating differential correction data26 NTRIP is designed for disseminating differential correction data 26 27 (e.g in the RTCM-104 format) or other kinds of GNSS streaming data to 27 28 stationary or mobile users over the Internet, allowing simultaneous 28 PC, Laptop, PDA, or receiver connections to a broadcasting host. N trip29 PC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP 29 30 supports wireless Internet access through Mobile IP Networks like GSM, 30 31 GPRS, EDGE, or UMTS. 31 32 32 N tripis implemented in three system software components:33 N tripClients, NtripServers and NtripCasters. The NtripCaster is the34 actual HTTP server program whereas N tripClient and NtripServer are33 NTRIP is implemented in three system software components: 34 NTRIP clients, NTRIP servers and NTRIP casters. The NTRIP caster is the 35 actual HTTP server program whereas NTRIP client and NTRIP server are 35 36 acting as HTTP clients. 36 37 37 NtripServerLinux38 ----------------39 The program NtripServerLinux is designed to provide real-time data40 from a single NtripSource running under a Linux operating system.41 Basically the NtripServerLinux grabs a GNSS byte stream42 from a serial port or tcpsocket port and sends it off over an43 Internet TCP connection to the NtripCaster.44 38 45 Mind that the NtripServerLinux may not be able to handle your 46 proxyserver. When using it in a proxy-protected Local Area Network 47 (LAN), a TCP-relay may have to be established connecting the 48 proxyserver and the NtripCaster. Establishing the Internet 49 connection for an NtripServerLinux by using an Internet Service 50 Provider (ISP) is an alternative. 39 ntripserver 40 ----------- 41 The program ntripserver is designed to provide real-time data 42 from a single NTRIP source running under a Linux operating system. 43 44 Basically the ntripserver grabs a GNSS byte stream (Input, Source) 45 from either 46 47 1. a Serial port, or 48 2. an IP server, or 49 3. a File, or 50 4. a SISNeT Data Server, or 51 5. a UDP server, or 52 6. an NTRIP Version 1.0 Caster 53 54 and forwards that incoming stream to either 55 56 1. an NTRIP Version 2.0 Caster via TCP/IP (Output, Destination), or 57 2. an NTRIP Version 2.0 Caster via RTSP/RTP (Output, Destination), or 58 3. an NTRIP Version 1.0 Caster. 59 60 Please note, the options to support NTRIP Version 2.0 are currently still 61 under development and should be used with care. Keep in mind that details 62 of the NTRIP Version 2.0 transport protocol are still under discussion 63 and may be changed. 64 51 65 52 66 Installation 53 67 ------------ 54 To install the program 55 - unzip file NtripServerLinux.zip 56 - run tar -xf NtripServerLinux.tar 57 - change directory to NtripServerLinux 58 - run make 59 The exacutable will show up as NtripServerLinux. 68 To install the program run 69 70 - gunzip ntripserver.tgz 71 - tar -xf ntripserver.tar 72 - make, or 73 - make debug (for debugging purposes). 74 75 The exacutable will show up as ntripserver. 76 60 77 61 78 Usage … … 63 80 The user may call the program with the following options: 64 81 65 -a DestinationCaster name or address (default: www.euref-ip.net) 66 -p DestinationCaster port (default: 80) 67 -m DestinationCaster mountpoint 68 -c DestinationCaster password 69 -h|? print this help screen 70 -M <mode> sets the input mode 71 (1=serial, 2=tcpsocket, 3=file, 4=sisnet, 5=udpsocket, 6=caster) 72 Mode = file: 73 -s file, simulate data stream by reading log file 74 default/current setting is /dev/stdin 75 Mode = serial: 76 -b baud_rate, sets serial input baud rate 77 default/current value is 19200 78 -i input_device, sets name of serial input device 79 default/current value is /dev/gps 80 (normally a symbolic link to /dev/tty??) 81 Mode = tcpsocket or udpsocket: 82 -P receiver port (default: 1025) 83 -H hostname of TCP server (default: 127.0.0.1) 84 -f initfile send to server 85 -x receiver id 86 -y receiver password 87 -B bindmode: bind to incoming UDP stream 88 Mode = sisnet: 89 -P receiver port (default: 7777) 90 -H hostname of TCP server (default: 131.176.49.142) 91 -u username 92 -l password 93 -V version [2.1 or 3.1] (default: 2.1) 94 Mode = caster: 95 -P SourceCaster port (default: 80) 96 -H SourceCaster hostname (default: www.euref-ip.net) 97 -D SourceCaster mountpoint 98 -U SourceCaster username 99 -W SourceCaster password 82 -h|? print this help screen 100 83 101 There are additional options to support NTRIP version 2.0. These are currently 102 still under development and should be used with care. 84 -E <ProxyHost> Proxy server host name or address, required i.e. when 85 running the program in a proxy server protected LAN, 86 optional 87 -F <ProxyPort> Proxy server IP port, required i.e. when running 88 the program in a proxy server protected LAN, optional 89 -R <maxDelay> Reconnect mechanism with maximum delay between reconnect 90 attemts in seconds, default: no reconnect activated, 91 optional 103 92 104 Example: 105 NtripServerLinux -a www.euref-ip.net -p 2101 -m mountpoint -c password -M 1 -b 19200 -i /dev/ttyS0 93 -M <InputMode> Sets the input mode (1 = Serial Port, 2 = IP server, 94 3 = File, 4 = SISNeT Data Server, 5 = UDP server, 6 = NTRIP Caster), 95 mandatory 106 96 107 It is recommended to start NtripServerLinux through shell script 108 StartNtripServerLinux. This shell script ensures that 109 NtripServerLinux reconnects to the NtripCaster after a broken 110 connection. 97 <InputMode> = 1 (Serial Port): 98 -i <Device> Serial input device, default: /dev/gps, mandatory if 99 <InputMode>=1 100 -b <BaudRate> Serial input baud rate, default: 19200 bps, mandatory 101 if <InputMode>=1 111 102 112 NtripCaster IP address 113 ---------------------- 114 The current Internet address of the Ntrip Broadcaster which has to be 115 introduced in the NtripServerLinux is "www.euref-ip.net". The port 116 number is "80" or "2101". 103 <InputMode> = 2|5 (IP port | UDP port): 104 -H <ServerHost> Input host name or address, default: 127.0.0.1, 105 mandatory if <InputMode> = 2|5 106 -P <ServerPort> Input port, default: 1025, mandatory if <InputMode>= 2|5 107 -f <ServerFile> Name of initialization file to be send to server, 108 optional 109 -x <ServerUser> User ID to access incoming stream, optional 110 -y <ServerPass> Password, to access incoming stream, optional 111 -B Bind to incoming UDP stream, optional for <InputMode> = 5 117 112 118 Server password and mountpoint 119 ------------------------------ 120 Feeding data streams into the Ntrip system using the 121 NtripServerLinux program needs a server password and one mountpoint 122 per stream. Currently this is available from 123 euref-ip@bkg.bund.de (see "NtripProvider.doc"). 113 <InputMode> = 3 (File): 114 -s <File> File name to simulate stream by reading data from (log) 115 file, default is /dev/stdin, mandatory for <InputMode> = 3 124 116 125 Station Logfile 126 --------------- 127 A user of your data stream may need detailed information about the 128 GNSS hardware and firmware that generates your signal. This 129 information will be made available through a station logfile. Please 130 find an example station logfile in "SiteLogExample.txt". Create a 131 similar logfile describing your GNSS receiver hardware and firmware 132 and include the requested information as far as it is available for 133 you. Note that the form of this document follows an IGS 134 recommendatation that can be downloaded from 135 ftp://igscb.jpl.nasa.gov/pub/station/general/sitelog_instr.txt 136 The content of your station logfile has to be kept up to date. 137 Thus, please inform the NtripCaster operator about all changes at 138 your station by sending an updates version of your station logfile. 139 Providing a station logfile is not necessary in case you generate 140 a Virtual Reference Station (VRS) data stream. 117 <InputMode> = 4 (SISNeT Data Server): 118 -H <SisnetHost> SISNeT Data Server name or address, 119 default: 131.176.49.142, mandatory if <InputMode> = 4 120 -P <SisnetPort> SISNeT Data Server port, default: 7777, mandatory if 121 <InputMode> = 4 122 -u <SisnetUser> SISNeT Data Server user ID, mandatory if <InputMode> = 4 123 -l <SisnetPass> SISNeT Data Server password, mandatory if <InputMode> = 4 124 -V <SisnetVers> SISNeT Data Server Version number, options are 2.1, 3.0 125 or 3.1, default: 3.1, mandatory if <InputMode> = 4 126 127 <InputMode> = 6 (NTRIP Version 1.0 Caster): 128 -H <SourceHost> Source caster name or address, default: 127.0.0.1, 129 mandatory if <InputMode> = 6 130 -P <SourcePort> Source caster port, default: 2101, mandatory if 131 <InputMode> = 6 132 -D <SourceMount> Source caster mountpoint for stream input, mandatory if 133 <InputMode> = 6 134 -U <SourceUser> Source caster user Id for input stream access, mandatory 135 for protected streams if <InputMode> = 6 136 -W <SourcePass> Source caster password for input stream access, mandatory 137 for protected streams if <InputMode> = 6 138 139 -O <OutputMode> Sets output mode for communatation with destination caster, optional 140 1 = http: NTRIP Version 2.0 Caster in TCP/IP mode 141 2 = rtsp: NTRIP Version 2.0 Caster in RTSP/RTP mode 142 3 = ntrip1: NTRIP Version 1.0 Caster 143 144 Defaults to NTRIP Version 1.0, but will change to 2.0 in future versions 145 Note that the program automatically falls back from mode rtsp to mode http and 146 further to mode ntrip1 if necessary. 147 148 -a <DestHost> Destination caster name or address, default: 127.0.0.1, 149 mandatory 150 -p <DestPort> Destination caster port, default: 2101, mandatory 151 -m <DestMount> Destination caster mountpoint for stream upload, 152 mandatory 153 -n <DestUser> Destination caster user ID for stream upload to 154 mountpoint, only for NTRIP Version 2.0 destination 155 casters, mandatory 156 -c <DestPass> Destination caster password for stream upload to 157 mountpoint, mandatory 158 -N <STR-record> Sourcetable STR-record 159 optional for NTRIP Version 2.0 in RTSP/RTP and TCP/IP mode 160 161 162 Example1: Reading from serial port and forward to NTRIP Version 1.0 Caster: 163 164 ./ntripserver -M 1 -i /dev/ttys0 -b 9600 -O 2 -a www.euref-ip.net -p 2101 -m Mount2 165 -n serverID -c serverPass 166 167 Example2: Reading from NTRIP Version 1.0 Caster and forward to NTRIP Version 2.0 168 169 ./ntripserver -M 6 -H www.euref-ip.net -P 2101 -D Mount1 -U clientID -W clientPass 170 -O 1 -a www.goenet-ip.fi -p 2101 -m Mount2 -n serverID -c serverPass 171 172 173 NTRIP Caster password and mountpoint 174 ------------------------------------ 175 Feeding data streams into the NTRIP system using the ntripserver 176 program needs a password (and a user ID for NTRIP Version 2.0) 177 and one mountpoint per stream. 178 For the NTRIP Broadcasters EUREF-IP or IGS-IP this is currently 179 available from http://igs.bkg.bund.de/index_ntrip_prov.htm 141 180 142 181 … … 147 186 responsibility to any person or entity with respect to any loss or 148 187 damage caused, or alleged to be caused, directly or indirectly by the 149 use and application of the Ntrip technology. 188 use and application of the NTRIP technology. 189 150 190 151 191 Further information 152 192 ------------------- 153 http://igs.bkg.bund.de/index_ntrip.htm 154 euref-ip@bkg.bund.de 155 193 URL: http://igs.bkg.bund.de/index_ntrip.htm 194 E-mail: euref-ip@bkg.bund.de
Note:
See TracChangeset
for help on using the changeset viewer.