1 How To...
1.12
Configure an IP Server Port
In this example, we show how to configure the receiver such that any client connecting to
TCP/IP port 28785 will receive the NMEA GGA message at a 1-second interval.
1. Configure one of the IP server connections (see section 1.1.5) to listen to port 28785.
Here, we assume that the first IP server connection (
IPS1
) is free:
setIPServerSettings,IPS1,28785,TCP <CR>
2. Output the GGA NMEA message to the
IPS1
connection, at a 1-Hz rate:
setNMEAOutput,Stream1,IPS1,GGA,sec1 <CR>
3. Make sure that NMEA output is enabled on the
IPS1
connection. It is enabled by
default, but in case your receiver is not in its default configuration, you should invoke:
setDataInOut,IPS1, ,+NMEA <CR>
A
way
to
check
the
IP
server
functionality
is
to
enter
the
URL
http://
polarx5tr-xxxxxxx
:28785
in your preferred web browser (replace
polarx5tr-xxxxxxx
by the hostname of your particular receiver). You should see
the NMEA GGA message coming every second.
Note that up to eight clients can concurrently connect to the same IP server port.
The example above showed how to set up a TCP server. It is also possible to configure the
receiver in UDP server mode. For example, to broadcast the GGA message to any UDP client
listening to its port 28785, the command in step 1. above must be replaced by:
setIPServerSettings,IPS1,28785,UDP,255.255.255.255 <CR>
Conversely, the receiver can be configured to automatically receive data from an IP server.
This is explained in section 1.13.
31
Содержание PolaRx5TR
Страница 1: ...PolaRx5TR Reference Guide Applicable to version 5 5 0 of the Firmware ...
Страница 73: ...3 Command Line Reference Chapter 3 Command Line Reference 73 ...
Страница 108: ...3 Command Line Reference COM1 gca Ch05 CR R gca Ch05 ChannelAllocation Ch05 G01 auto 0 16000 COM1 108 ...
Страница 130: ...3 Command Line Reference COM1 gim CR R gim IonosphereModel off COM1 130 ...
Страница 147: ...3 Command Line Reference PVTMode Static StandAlone SBAS DGPS RTKFloat RTKFixed Cartesian1 COM1 147 ...
Страница 218: ...3 Command Line Reference COM1 esoc COM1 MeasEpoch CR R esoc COM1 MeasEpoch SBFOnce COM1 MeasEpoch COM1 218 ...
Страница 237: ...3 Command Line Reference COM1 237 ...
Страница 251: ...3 Command Line Reference Event type Command etime 1588343730 before 1440 after 1440 Planned Disk DiskEvent COM1 251 ...
Страница 279: ...3 Command Line Reference COM1 279 ...
Страница 294: ...4 SBF Reference Chapter 4 SBF Reference 294 ...