7.2 TCP Remote Terminal
AT+TCPTERM
Syntax: AT+TCPTERM =<mode>[,<psswd>,<port>,<timeout>]
Response: +TCPTERM =<stat>,<psswd>,<port>,<timeout>
Defined Values:
<mode> 0 disable TCP Terminal.
1 enable TCP Terminal.
2 configure TCP Terminal parameters.
<psswd> login password for TCP Terminal. When user opens the modem TCP Terminal port it will prompt for a
password. User need to enter the password set with this parameter. User has 3 retries to enter correct
password. If password is correct user can enter AT command otherwise TCP connection will be closed.
Password consists of 1 to 16 alphanumeric characters. Default is "000000" (6 zeros).
<port> port number of TCP Terminal. Please do not set to the same value of port number in +IPTCP and
+IPUDP command. Default is 23. Valid value is 1 to 65535.
<timeout> maximum time in second TCP terminal will wait for an entry after TCP terminal opened. If no data
received in this period the connection will be closed. Default is 30. Valid value is 1 to 65535.
Example:
Command Response
AT+TCPTERM=2,"123456",23,30 OK
Note: configure TCP Terminal, password: 123456, port: 23,
timeout: 30(secs).
AT+TCPTERM=1 OK
Note: enable TCP terminal.
AT+TCPTERM=0 OK
Note: disable TCP terminal.
AT+TCPTERM? +TCPTERM: 1,"123456",23,30
AT+TCPTERM=? +TCPTERM: (0-2),(16),(1-65535),(1-65535)
OK
Note:
– If TCP terminal is enabled the modem will connect to cellular (+IPCONNECT=1,1) about 15 seconds after
power up.
– Only one TCP terminal connection can be made at a time. Any further connection requested will be refused.
– Not all AT commands could be executed. If not allowed command is entered "command not allowed" message
will be returned.
– Command echo feature is always enabled (except entering password).
– Unsolicited codes like "RING", "+CMTI", etc... will not be displayed on TCP terminal.
– Never send ‘interactive’ AT command by TCP Terminal, e.g. AT+CMGS, as it cannot return the prompt to the
sender for second input.
– Always think twice before you send AT command. For example if you send AT+CPOF it will turn off the modem,
and you need to go to access the modem to reset it.
44 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com