User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
20
Option
Applicable mode
Serial port behavior if option enabled
1
Client / Server
as client: in data mode all the time, data buffered
as server: in data mode when socket connected,
command mode when not (data not buffered)
2
Server
(n/a)
3
Server
(n/a)
Command Syntax
AT+AUOPT=<option>,<val>
Response syntax:
+AUOPT: <option>,<val>
Command
Possible responses:
AT+AUOPT=1,5
OK
Note : set the socket idle period to value to 5 (mins)
AT+AUOPT=2,720
OK
Note : set the server idle period to value to 720 (mins)
AT+AUOPT=3,15 OK
Note : set the socket connect period to value to 5 (minute)
AT+AUOPT=1,0
OK
Note : set the socket idle period to value to 0 (disable)
AT+ AUOPT?
+AUOPT : 1,5
+AUOPT : 2,15
+AUOPT : 3,750
OK
Note: display current status
AT+AUOPT=? +AUOPT : (1-3),(0-65535)
Note : possible argument
Defined Values:
<option>
1 socket idle period. (for client and server mode)
After AutoTCP/UDP socket is connected , if there is no data transport in both direction for the time longer than the
<val> (in minutes) of this <option> the socket will be disconnected. Please read notes below when using it with TCP
client mode.
2 server idle period. (for server mode only)
If the unit set as a server have stayed in listening mode for the time longer than the <val> (in minutes) of this <option>
the GPRS PDP context will be deactivated and then re-activated, and server listening modem will be resumed. This Is
to prevent GPRS network closing of GPRS becausee of zero data flow after some period.
3 socket connect period. (for server mode only)
If a AutoTCP/UDP socket stays connected for longer than the <val> (in minutes) of this <option> the socket will be
disconnected
<val>
Value of the corresponding option. Unit is in minute. Default value is 0 (connection control disabled). Valid range is 0 to
65535.