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
Summary of Contents for PolaRx5TR
Page 1: ...PolaRx5TR Reference Guide Applicable to version 5 5 0 of the Firmware ...
Page 73: ...3 Command Line Reference Chapter 3 Command Line Reference 73 ...
Page 130: ...3 Command Line Reference COM1 gim CR R gim IonosphereModel off COM1 130 ...
Page 237: ...3 Command Line Reference COM1 237 ...
Page 279: ...3 Command Line Reference COM1 279 ...
Page 294: ...4 SBF Reference Chapter 4 SBF Reference 294 ...