FARGO electronic Maestro 900 User Manual

Page 8

Advertising
background image

Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd.

6

3.2 AT commands for Auto TCP/UDP

3.2.1

AT+AUTOTCP

Description:

This command controls the Maestro 100 to start TCP socket connection automatically.

Note:
- Before using AT+AUTOTCP TCP and GPRS settings MUST be setup properly using

AT+IPTCP and AT+IPGPRS command respectively.

- +AUTOTCP function is mutually exclusive with +AUTOUDP function; if +AUTOUDP is set to

1 already you will get ERROR on enabling AUTOTCP

Syntax:

Command Syntax
AT+AUTOTCP=<mode>

Response syntax:
+AUTOTCP: <mode>

Command

Possible responses:

AT+AUTOTCP=0

OK
Note : disable AutoTCP

AT+AUTOTCP=1

OK
Enable AutoTCP

AT+ AUTOTCP?

+AUTOTCP : 1
OK
Note display current status

AT+AUTOTCP=?

+AUTOTCP : (0-1)
Note : possible argument

Defined Values:

<mode>

1 enable auto TCP

0 disable auto TCP

Notes :
-

Before enabling Auto TCP, it MUST be properly set the GPRS settings by AT+IPGPRS
command and TCP settings by AT+IPTCP command

-

ONLY GPRS PDP context # 1 will be used. So please setup +IPGPRS settings with
<cid>=1

-

Once AutoTCP is enabled, it will start the TCP socket connection automatically after 20
seconds.

-

Once the TCP connection is established successfully, the serial port will go to data mode,
all data entered to the serial port will be sent to remote TCP peer. No more AT commands
will be accepted then.

-

In TCP connected data mode, the DSR and DCD signals of the serial port will go to high.

Advertising
This manual is related to the following products: