3 using telnet, 1 telnet examples – Comtech EF Data CDM-710G User Manual
Page 154
CDM-710G High-Speed Satellite Modem
Revision 1
Telnet Interface
MN-CDM710G
9–4
9.3
Using Telnet
Please refer to Appendix A. REMOTE CONTROL in this manual for the syntax and list of
commands and status queries for the modem.
Telnet is implemented in the modem Ethernet M&C in a "Telnet wrapper". When the user Telnets
to the modem, it emulates a local RS-232 (RS-485) serial connection to the modem. The user can
then type the same command syntax that he would use from a serial remote terminal and the
Ethernet M&C "unwraps" the Telnet packet and sends it on to the base modem processor which
responds to it as if it was a serial remote command.
To summarize:
•
Start of Packet is either a '<' or a '>' where '<' is used to send a command/query to the
modem and '>' is the modem response.
•
Defines the address of the modem (always is 0 in RS-0232).
•
The 3 digit instruction code of the specific command/query.
•
Instruction Code Qualifier. When sending, = will set a parameter, ? is used to query.
•
The modem response will be either =, ?, !, *, #, or ~ (see the specific definitions in
the Remote Control Section).
•
Optional argument.
•
End of packet (CR).
9.3.1 Telnet Examples
1. A controller sends the following command to the modem to program its Tx frequency:
<0135/TFQ=0070.2345 {CR}
The modem returns:
>0135/TFQ=
2. The message below requests Tx frequency status:
<0654/TFQ?
The modem response is:
>0654/TFQ=
0070.2345
{CR}{LF}