J.3 remote commands – Comtech EF Data CDM-570 User Manual
Page 462
CDM-570/570L Satellite Modem with Optional IP Module
Revision 12
Appendix J
MN/CDM570L.IOM
J–2
J.3
Remote Commands
For more information about using remote commands and queries, see
Appendix D. REMOTE CONTROL).
Several remote commands are available to enable the GPS Mode and retrieve GPS information.
These commands are for the SLAVE modem ONLY, which means the address field must be the
address of the Slave unit (e.g., 0021).
• GPS – GPS Mode, Query and Command
0 = Disabled
1 = Enabled
Note: When the GPS mode is enabled, the SLAVE modem’s serial’s Baud Rate is changed to 4800
to receive data from GP-320B. To go back to normal serial operation mode, disable the GPS Mode.
• DTM? – Retrieve GPDTM data sentence
• GGA? – Retrieve GPGGA data sentence
• ZDA? – Retrieve GPZDA data sentence
• GLL? – Retrieve GPGLL data sentence
• VTG? – Retrieve GPVTG data sentence
• RMC? – Retrieve GPRMC data sentence
Example capture of the remote commands:
<0021/GPS?
queries current GPS status
>0021/GPS=0[cr][lf]
SLAVE responds that GPS is disabled
<0021/GPS=1
SLAVE is commanded to enable GPS
>0021/GPS=[cr][lf]
SLAVE confirms that GPS is enabled
<0021/DTM?
SLAVE is commanded to return GPDTM data sentence
>0021/DTM=$GPDTM,W84,,00.0000,N,00.0000,W,,W84*53[cr][lf]
<0021/GGA?
>0021/GGA=$GPGGA,222830,3325.4268,N,11158.2640,W,0,01,00.00,000293.6,M,-
026.2,M,,*7F[cr][lf]
<0021/ZDA?
>0021/ZDA=$GPZDA,223145,14,10,2005,+00,00*63[cr][lf]
<0021/GLL?
>0021/GLL=$GPGLL,3325.4268,N,11158.2640,W,222830,V,N*47[cr][lf]
<0021/VTG?
>0021/VTG=$GPVTG,,T,,M,,N,,K,N*2C[cr][lf]
<0021/RMC?
>0021/RMC=$GPRMC,222830,V,3325.4268,N,11158.2640,W,,,141005,011.8,E,N*12[cr][lf]
<0021/GPS=0
SLAVE is commanded to disable GPS
>0021/GPS=[cr][lf]
SLAVE confirms that GPS is disabled
<0021/RMC?
SLAVE is commanded to return GPRMC data sentence
>0021/RMC*[cr][lf]
SLAVE responds that data is not available