Ntrip rover (via modem), Script, Acquiring the ntrip source table – Spectra Precision ProFlex 800 Reference Manual User Manual
Page 283: Script acquiring the ntrip source table

269
Integrating ProFlex 800 into Your Application
NTRIP Rover (Via Modem)
Script
Acquiring the
NTRIP Source
Table
After the $PASHS,NTR,PAR command has been sent and the
modem state has switched to INIT, you can ask the receiver
to get the source table from the caster.
NOTE: The modem INIT state is indicated on the receiver
front panel when the following icon (static) appears in the
Action
Command
Set the name of the antenna connected to
the receiver:
$PASHS,ANP,OWN,ASH111661
$PASHR,ACK*3D
Set the antenna reduction mode to ON, so
that all coordinates refer to the ground
mark:
$PASHS,ANR,ON
$PASHR,ACK*3D
Enter the antenna height (e.g. a vertical
height of 2.0 meters was measured):
$PASHS,ANT,0,0,2
$PASHR,ACK*3D
Set the modem and GPRS parameters
(Power mode, PIN code, APN settings, IP
protocol, auto-dial, re-dials, 2G/3G):
$PASHS,MDM,PAR,PWR,AUT,
PIN,1234,APN,ssx.com,LGN,Ssx,
PWD,ssx3,IPT,1,ADL,Y,RNO,3,
NET,0
$PASHR,ACK*3D
Set the modem in GPRS and TCP/IP
modes:
$PASHS,MDM,PAR,PTC,1,IPT,0
$PASHR,ACK*3D
Turn on the modem (unless the modem has
been set in automatic power mode):
$PASHS,MDM,ON
$PASHR,ACK*3D
Initialize the modem. Wait a few seconds
until the receiver can respond to this com-
mand.
NOTE: If the initialization fails, the message
$PASHR,MDM,INI,FAILED*7D is returned.
$PASHS,MDM,INI
$PASHR,MDM,INI,OK*7A
Enter the NTRIP caster parameters (see
example in the right column).
NOTE: The ADD field may contain either an
IP address or a host name.
$PASHS,NTR,PAR,ADD,
83.167.123.12,PRT,2101,LGN,
name,PWD,password,TYP,0,IPP,E
$PASHR,ACK*3D
Set the receiver to be a rover:
$PASHS,CPD,MOD,ROV
$PASHR,ACK*3D
Set the receiver to send a GGA message
periodically to the caster, if necessary.
$PASHS,NME,GGA,E,ON,5
$PASHR,ACK*3D
Ask the modem to connect to the mount
point (e.g. NAN1):
NOTE: If you don’t know which mount point
to connect the modem to, see Acquiring the
NTRIP Source Table below.
$PASHS,NTR,MTP,NAN1
$PASHR,ACK*3D