
- If the TCP connection is broken the modem will try to reconnect automatically. During reconnection period serial port will go back to command mode, and DSR/DCD signal back to low.
-The setting will be saved, and after power off, the AUTOTCP will be restarted with the 20 seconds delay after power up.
-To stop auto TCP connection, you need to enter the command AT+AUTOTCP=0 within 20 seconds after power up, or during reconnection (serial port back to command mode)
3.2.2AT+IPTCPDescription:
This command specifies the TCP socket parameters and mode that to be used by AT+AUTOTCP command.
Syntax:
Command Syntax
AT+IPTCP=<port>,<mode>,<server>,<TCPTxDelay>
Response syntax:
+ IPTCP: <port>,<mode>,<server>,<TCPTxDelay>
Command | Possible responses: |
AT+ IPTCP? | +IPTCP: 0,"S","",100 |
| OK |
| Note : show current settings |
AT+ IPTCP =23 | OK |
| Note: set the TCP port to 23 |
AT+ IPTCP =23,”C”,202.144.111.222”,100 | OK |
| Note: to set the modem to connect TCP socket Client |
| (caller) mode |
| to target :address 202.144.111.222 and port 23 |
AT+ IPTCP =23,”S”,255.255.255.255”,100 | OK |
| to set the modem to wait for TCP socket connection |
| request (Server (listening) mode) |
| any calling IP address allowed, port 23 |
AT+ IPTCP =? | +IPTCP: |
| OK |
| Note : possible argument |
Defined Values: |
|
The port number to be used for the TCP socket connection. Default value is 0. Valid range is 0 to 65535.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. | 7 |